qemu/include/hw
Nicholas Bellinger af60314291 vhost: Add vhost_commit callback for SeaBIOS ROM region re-mapping
This patch follows MST's recommendation to move checks for
vhost_verify_ring_mappings() -> cpu_physical_memory_map() operations
from MemoryListener->region_[add,del]() -> vhost_set_memory() into
final MemoryListener->commit() -> vhost_commit() callback.

It addresses the case where virtio-scsi vq ioport RAM re-mapping
to read-only SeaBIOS ROM triggers a cpu_physical_memory_map()
NIL MemoryRegionSection pointer failure.

Also save vhost_dev->mem_changed_[start,end]_addr values in
vhost_set_memory() for final ranges_overlap checks.  (Thanks Paolo!)

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Asias He <asias@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2013-04-19 10:44:17 +02:00
..
acpi acpi.h: make it self contained 2013-04-15 10:22:04 -05:00
arm arm: fix location of some include files 2013-04-15 15:16:01 +02:00
audio hw: move headers to include/ 2013-04-08 18:13:10 +02:00
block hw: move headers to include/ 2013-04-08 18:13:10 +02:00
char hw: move headers to include/ 2013-04-08 18:13:10 +02:00
cris hw: move headers to include/ 2013-04-08 18:13:10 +02:00
i2c hw: move headers to include/ 2013-04-08 18:13:10 +02:00
i386 acpi: move declarations from pc.h to acpi.h 2013-04-15 15:16:34 +02:00
input hw: move headers to include/ 2013-04-08 18:13:10 +02:00
isa hw: move headers to include/ 2013-04-08 18:13:10 +02:00
kvm hw: move headers to include/ 2013-04-08 18:13:10 +02:00
lm32 hw: move headers to include/ 2013-04-08 18:13:10 +02:00
m68k hw: move headers to include/ 2013-04-08 18:13:10 +02:00
mips hw: move headers to include/ 2013-04-08 18:13:10 +02:00
misc hw: move headers to include/ 2013-04-08 18:13:10 +02:00
nvram hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pci scsi: VMWare PVSCSI paravirtual device implementation 2013-04-19 10:44:17 +02:00
pci-host hw: move PCI bridges to hw/pci-* or hw/ARCH 2013-04-08 18:13:14 +02:00
ppc hw: move headers to include/ 2013-04-08 18:13:10 +02:00
s390x hw: move headers to include/ 2013-04-08 18:13:10 +02:00
scsi hw: move headers to include/ 2013-04-08 18:13:10 +02:00
sh4 sh7750: Change cpu field type to SuperHCPU 2013-04-13 13:51:45 +02:00
sparc hw: move timer devices to hw/timer/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
timer hw: move headers to include/ 2013-04-08 18:13:10 +02:00
unicore32 hw: move headers to include/ 2013-04-08 18:13:10 +02:00
virtio vhost: Add vhost_commit callback for SeaBIOS ROM region re-mapping 2013-04-19 10:44:17 +02:00
xen configure: CONFIG_NO_XEN is duplicated 2013-04-18 14:12:31 +02:00
boards.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
bt.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
devices.h arm: fix location of some include files 2013-04-15 15:16:01 +02:00
elf_ops.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
empty_slot.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
hw.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ide.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
irq.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
loader.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pcmcia.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ptimer.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
qdev-addr.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
qdev-core.h qdev: Fix QOM unrealize behavior 2013-04-15 17:05:34 -05:00
qdev-dma.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
qdev-properties.h qdev: Add qdev property for bool type 2013-04-16 01:19:46 +02:00
qdev.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
sd.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ssi.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
stream.h stream: Remove app argument hack 2013-04-16 10:04:23 +02:00
sysbus.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
usb.h Merge remote-tracking branch 'bonzini/hw-dirs' into staging 2013-04-08 13:12:33 -05:00
xilinx.h stream: Remove app argument hack 2013-04-16 10:04:23 +02:00