[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 1/4] xen interface for HVM S3


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Ke, Liping" <liping.ke@xxxxxxxxx>
  • Date: Tue, 20 May 2008 15:00:27 +0800
  • Delivery-date: Tue, 20 May 2008 00:01:48 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Aci6Ry7Q37izqBcGSPe+YEcd3BG4Ag==
  • Thread-topic: [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

Attachment: xen.patch
Description: xen.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.