]> git.proxmox.com Git - qemu.git/commit
piix_pci: wrap memory update in a transaction
authorAvi Kivity <avi@redhat.com>
Mon, 1 Aug 2011 08:04:39 +0000 (11:04 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 4 Sep 2011 14:46:51 +0000 (17:46 +0300)
commit72124c01c614ab114134a42c1d8147fc7adeeb8c
tree23049d3346a84b9abf77eca971ca5d3856597553
parent64c048f4a86d92078970ca5d817fd6411430b6a0
piix_pci: wrap memory update in a transaction

The code will remap all PAMs, even if just one is updated, resulting
in reduced performance.  Wrap in a transaction to detect that those
other PAMs have not changed.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/piix_pci.c