From: Ian Jackson Date: Wed, 23 Jul 2008 18:01:00 +0000 (+0100) Subject: ACPI S3 state wake up - change to write flag behaviour X-Git-Tag: xen-3.3.0-rc1~4 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7fc722da73707a0965f8b43a67f2ef5fd9a9c143;p=qemu-xen-3.3-testing.git ACPI S3 state wake up - change to write flag behaviour ioemu-remote: The device model needs to write in the ACPI tables when it wakes up from S3 state. Signed-off-by: Jean Guyader --- diff --git a/hw/xen_platform.c b/hw/xen_platform.c index 430e6030..06f6edbf 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