xen: Mark fixed platform I/O as unaligned
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>
This commit is contained in:
parent
04e8cd506a
commit
962b03fcf5
@ -262,9 +262,13 @@ static void platform_fixed_ioport_write(void *opaque, hwaddr addr,
|
|||||||
static const MemoryRegionOps platform_fixed_io_ops = {
|
static const MemoryRegionOps platform_fixed_io_ops = {
|
||||||
.read = platform_fixed_ioport_read,
|
.read = platform_fixed_ioport_read,
|
||||||
.write = platform_fixed_ioport_write,
|
.write = platform_fixed_ioport_write,
|
||||||
|
.valid = {
|
||||||
|
.unaligned = true,
|
||||||
|
},
|
||||||
.impl = {
|
.impl = {
|
||||||
.min_access_size = 1,
|
.min_access_size = 1,
|
||||||
.max_access_size = 4,
|
.max_access_size = 4,
|
||||||
|
.unaligned = true,
|
||||||
},
|
},
|
||||||
.endianness = DEVICE_LITTLE_ENDIAN,
|
.endianness = DEVICE_LITTLE_ENDIAN,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user