X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_mtrr.c;h=5e27afc0680ba3dfa6e7d2460c143c43def2c907;hb=b3e5aa263c35961c74e0b7ed96b8510e8c6d7d0d;hp=4c563ce591568d9ea2bb8755d849a6ddce9312fd;hpb=adee0fafaa51f4bf28abe7461006be9b9d3dbceb;p=palacios.git diff --git a/palacios/src/palacios/vmm_mtrr.c b/palacios/src/palacios/vmm_mtrr.c index 4c563ce..5e27afc 100644 --- a/palacios/src/palacios/vmm_mtrr.c +++ b/palacios/src/palacios/vmm_mtrr.c @@ -77,9 +77,10 @@ static int mtrr_cap_write(struct guest_info * core, uint32_t msr, struct v3_msr -static int init_mtrrs(struct v3_vm_info * vm, v3_cfg_tree_t * cfg) { +static int init_mtrrs(struct v3_vm_info * vm, v3_cfg_tree_t * cfg, void ** priv_data) { + V3_Print("Intializing MTRR extension\n"); v3_hook_msr(vm, MTRR_CAP_MSR, mtrr_cap_read, mtrr_cap_write, NULL); @@ -88,7 +89,7 @@ static int init_mtrrs(struct v3_vm_info * vm, v3_cfg_tree_t * cfg) { } -struct v3_extension_impl mtrr_ext = { +static struct v3_extension_impl mtrr_ext = { .name = "MTRRS", .init = init_mtrrs, .deinit = NULL,