X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_config.c;h=3a4cbaf5176d2dcd0d88590b45128d9bfa1755e0;hb=a46778669bb94bcf6b0a05646123ff748cfe86be;hp=ba2529a1b4b349ff109709c117155fec2d84fbef;hpb=82cceefa66b1f05d8f9d5bfcb2fb7214755e1904;p=palacios-OLD.git diff --git a/palacios/src/palacios/vmm_config.c b/palacios/src/palacios/vmm_config.c index ba2529a..3a4cbaf 100644 --- a/palacios/src/palacios/vmm_config.c +++ b/palacios/src/palacios/vmm_config.c @@ -32,6 +32,8 @@ #include +#include + #define USE_GENERIC 1 #define MAGIC_CODE 0xf1e2d3c4 @@ -92,6 +94,9 @@ static int passthrough_mem_write(addr_t guest_addr, void * src, uint_t length, v } */ + + + int config_guest(struct guest_info * info, struct v3_vm_config * config_ptr) { struct guest_mem_layout * layout = (struct guest_mem_layout *)config_ptr->vm_kernel; @@ -124,6 +129,8 @@ int config_guest(struct guest_info * info, struct v3_vm_config * config_ptr) { init_emulator(info); + v3_init_host_events(info); + // SerialPrint("Guest Mem Dump at 0x%x\n", 0x100000); //PrintDebugMemDump((unsigned char *)(0x100000), 261 * 1024); @@ -195,7 +202,6 @@ int config_guest(struct guest_info * info, struct v3_vm_config * config_ptr) { print_shadow_map(&(info->mem_map)); - { struct vm_device * ramdisk = NULL;