aboutsummaryrefslogtreecommitdiff
path: root/hw/display
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2013-06-22 08:07:02 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-07-04 17:42:43 +0200
commit04e8cd506a2a7b57084d7d7b823540c2baf9a1da (patch)
tree2fe275b42b32e5b429116b206ea70654ad4418da /hw/display
parentb6f3296292f027c9a87a12dddd736a7c344d0206 (diff)
downloadqemu-04e8cd506a2a7b57084d7d7b823540c2baf9a1da.zip
qemu-04e8cd506a2a7b57084d7d7b823540c2baf9a1da.tar.gz
qemu-04e8cd506a2a7b57084d7d7b823540c2baf9a1da.tar.bz2
vmware-vga: Accept unaligned I/O accesses
Before switching to the memory core dispatcher, we need to make sure that this pv-device will continue to receive unaligned portio accesses. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display')
-rw-r--r--hw/display/vmware_vga.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c
index fd3569d..ec41681 100644
--- a/hw/display/vmware_vga.c
+++ b/hw/display/vmware_vga.c
@@ -1241,6 +1241,10 @@ static const MemoryRegionOps vmsvga_io_ops = {
.valid = {
.min_access_size = 4,
.max_access_size = 4,
+ .unaligned = true,
+ },
+ .impl = {
+ .unaligned = true,
},
};