X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm.h;h=cbe2f80682f20b3417aa7c7e43cd13bbedb13b77;hp=17dd7eb2283b71b2985b081a91eb6acc0b5f0fcf;hb=6593ee3c311ec87304c7bed52a9e6034338679fb;hpb=f2ca95fb9b02995a2826fee0d5559a9739f390f2 diff --git a/palacios/include/palacios/vmm.h b/palacios/include/palacios/vmm.h index 17dd7eb..cbe2f80 100644 --- a/palacios/include/palacios/vmm.h +++ b/palacios/include/palacios/vmm.h @@ -239,11 +239,20 @@ struct vmm_os_hooks { }; +struct v3_vm_config { + void * vm_kernel; + int use_ramdisk; + void * ramdisk; + int ramdisk_size; +}; + + + /* This will contain Function pointers that control the VMs */ struct vmm_ctrl_ops { struct guest_info *(*allocate_guest)(); - int (*config_guest)(struct guest_info * info, void * config_ptr); + int (*config_guest)(struct guest_info * info, struct v3_vm_config * config_ptr); int (*init_guest)(struct guest_info * info); int (*start_guest)(struct guest_info * info); // int (*stop_vm)(uint_t vm_id); @@ -256,6 +265,8 @@ struct vmm_ctrl_ops { + + void Init_V3(struct vmm_os_hooks * hooks, struct vmm_ctrl_ops * vmm_ops);