|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 1/4] xen interface for HVM S3
[PATCH 1/4] xen interface for HVM S3
- add two sub hypercalls under XEN_DOMCTL_sendtrigger hypercall:
XEN_DOMCTL_SENDTRIGGER_S3SUSPEND/XEN_DOMCTL_SENDTRIGGER_S3SUSPEND
- XEN_DOMCTL_SENDTRIGGER_S3SUSPEND will reset all HVM vcpus, pic, apic,
RTC and HPET. Set BSP eip to 0xfff0, cs base to 0xf0000, and
also set other registers/msr to the correct value/attributes in real
mode environment, so HVM will start from rombios post entry directly;
Then it pause the domain.
- XEN_DOMCTL_SENDTRIGGER_S3RESUME will unpause the domain
- add is_s3_suspend flag in domain for logging s3 suspend state
Signed-off-by: Tian Kevin <kevin.tian@xxxxxxxxx>
Signed-off-by: Yu Ke <ke.yu@xxxxxxxxx>
Signed-off-by: Ke Liping <liping.ke@xxxxxxxxx
xen.patch
Description: xen.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|