All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ioemu-remote: ACPI S3 state wake up
@ 2008-07-23 17:51 Jean Guyader
  2008-07-23 18:02 ` Ian Jackson
  0 siblings, 1 reply; 29+ messages in thread
From: Jean Guyader @ 2008-07-23 17:51 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Jackson

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]


ioemu-remote: The device model needs to write in the ACPI tables when it 
wakes up from S3 state.

Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>

-- 
Jean Guyader

[-- Attachment #2: s3_state_write_e820.patch --]
[-- Type: text/plain, Size: 652 bytes --]

diff --git a/hw/xen_platform.c b/hw/xen_platform.c
index 430e603..06f6edb 100644
--- a/hw/xen_platform.c
+++ b/hw/xen_platform.c
@@ -59,7 +59,7 @@ static void xen_platform_ioport_writeb(void *opaque, uint32_t addr, uint32_t val
     case 0: /* Platform flags */ {
         hvmmem_type_t mem_type = (val & PFFLAG_ROM_LOCK) ?
             HVMMEM_ram_ro : HVMMEM_ram_rw;
-        if (xc_hvm_set_mem_type(xc_handle, domid, mem_type, 0xc0, 0x40))
+        if (xc_hvm_set_mem_type(xc_handle, domid, mem_type, 0xc0, 0x20))
             fprintf(logfile,"xen_platform: unable to change ro/rw "
                     "state of ROM memory area!\n");
         else

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply related	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2008-07-31 10:43 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-23 17:51 [PATCH] ioemu-remote: ACPI S3 state wake up Jean Guyader
2008-07-23 18:02 ` Ian Jackson
2008-07-24 10:23   ` Trolle Selander
2008-07-24 10:35     ` Ian Jackson
2008-07-24 10:48     ` Jean Guyader
2008-07-24 12:12       ` Jean Guyader
2008-07-24 12:45         ` Keir Fraser
2008-07-24 12:54           ` Trolle Selander
2008-07-24 12:57             ` Keir Fraser
2008-07-29  9:47           ` Ke, Liping
2008-07-29  9:53             ` Keir Fraser
2008-07-29 10:26               ` Keir Fraser
2008-07-29 10:39                 ` Ke, Liping
2008-07-29 10:40                 ` Trolle Selander
2008-07-29 11:22                   ` Ke, Liping
2008-07-29 11:50                     ` Keir Fraser
2008-07-29 11:50                   ` Keir Fraser
2008-07-29 11:58                     ` Keir Fraser
2008-07-29 15:11                 ` Keir Fraser
2008-07-30  2:51                   ` Ke, Liping
2008-07-30  3:09                     ` Tian, Kevin
2008-07-30  4:48                       ` Ke, Liping
2008-07-30 11:44                         ` Ke, Liping
2008-07-30 12:01                           ` Keir Fraser
2008-07-30 11:50                         ` Ke, Liping
2008-07-30 12:05                           ` Keir Fraser
2008-07-31 10:25                             ` Ke, Liping
2008-07-31 10:28                               ` Jean Guyader
2008-07-31 10:43                               ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.