]> git.proxmox.com Git - mirror_qemu.git/commit
acpi: fix "Memory device control fields" register
authorZhu Guihua <zhugh.fnst@cn.fujitsu.com>
Mon, 27 Apr 2015 08:47:20 +0000 (16:47 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Apr 2015 19:09:07 +0000 (21:09 +0200)
commit660e8ec70065c8b1fd68b2cb137de16d831959f4
tree8ab1ff016d6d84d1ef5a05e3fc2696062e687ab8
parentaf5098973136029211848b4999ad5d38bc90180f
acpi: fix "Memory device control fields" register

0 bit in Memory device control fields must be cleared before writing to
register. But now this field isn't cleared when other fields are written.

To solve this bug, This patch fixes UpdateRule to WriteAsZeros in "Memory
device control fields" register.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
docs/specs/acpi_mem_hotplug.txt
hw/i386/acpi-build.c