Patchwork [v3,09/14] vmware-vga: Accept unaligned I/O accesses

login
register
mail settings
Submitter Jan Kiszka
Date June 22, 2013, 6:07 a.m.
Message ID <127415bbfc5f13593a642bda0a70e837bbced8f9.1371881222.git.jan.kiszka@web.de>
Download mbox | patch
Permalink /patch/253345/
State New
Headers show

Comments

Jan Kiszka - June 22, 2013, 6:07 a.m.
From: Jan Kiszka <jan.kiszka@siemens.com>

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>
---
 hw/display/vmware_vga.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

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,
     },
 };