X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_hvm.h;h=576828c96f6c9e98d99de1b12508972e03411b71;hb=3650bf4aaa4f83afae52c8fee98fce6e3ee68deb;hp=3fd0091cc2c0fb262b483219bf76ecf8f8128d00;hpb=c5ba903ae97ea49bbac5b660f76d2031c5302a3d;p=palacios.git diff --git a/palacios/include/palacios/vmm_hvm.h b/palacios/include/palacios/vmm_hvm.h index 3fd0091..576828c 100644 --- a/palacios/include/palacios/vmm_hvm.h +++ b/palacios/include/palacios/vmm_hvm.h @@ -30,10 +30,13 @@ struct v3_vm_hvm { uint32_t first_hrt_core; uint64_t first_hrt_gpa; struct v3_cfg_file *hrt_file; + uint64_t hrt_entry_addr; + enum { HRT_BLOB, HRT_ELF64, HRT_MBOOT2, HRT_MBOOT64 } hrt_type; }; struct v3_core_hvm { uint8_t is_hrt; + uint64_t last_boot_start; }; struct v3_xml; @@ -64,6 +67,10 @@ int v3_hvm_should_deliver_ipi(struct guest_info *src, struct guest_info *de void v3_hvm_find_apics_seen_by_core(struct guest_info *core, struct v3_vm_info *vm, uint32_t *start_apic, uint32_t *num_apics); + +int v3_setup_hvm_vm_for_boot(struct v3_vm_info *vm); +int v3_setup_hvm_hrt_core_for_boot(struct guest_info *core); + #endif /* ! __V3VEE__ */