baacfdbce9
S3 resume path for VM0 is put bsp of VM0 to real mode and jump to the wakeup vec of VM0. So we need to extend the init_guest_state to support start from real mode. We apply different CS:IP setting for BSP: - if entry_addr of BSP is larger than 0x100000, it's not wakeup from S3. We assume it's guest start and set CS:IP by hardcode. - if entry_addr of BSP is smaller than 0x100000, it's wakeup from S3. We setup CS:IP according to ACPI spec. Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> |
||
---|---|---|
.. | ||
x86 |