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=423b80dd5eb73822e0c90a4dc3c4843f7ff65c37;hpb=3586c3bd6260bf79c57baebf66a26d7e8158d411;p=palacios.git diff --git a/palacios/include/palacios/vmm_hvm.h b/palacios/include/palacios/vmm_hvm.h index 423b80d..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; @@ -60,6 +63,14 @@ int v3_is_hvm_ros_core(struct guest_info *core); int v3_is_hvm_hrt_core(struct guest_info *core); +int v3_hvm_should_deliver_ipi(struct guest_info *src, struct guest_info *dest); +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__ */