qemu/include
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
..
block block: Introduce bdrv_pwritev() for qcow2_save_vmstate 2013-04-15 08:26:18 +02:00
disas Add moxie disassembler 2013-03-23 14:25:41 +00:00
exec elfload: use abi_llong/ullong instead of target_llong/ullong 2013-04-18 14:12:31 +02:00
fpu softfloat: Implement uint64_to_float128 2013-01-05 10:12:50 +00:00
hw vhost: Add vhost_commit callback for SeaBIOS ROM region re-mapping 2013-04-19 10:44:17 +02:00
migration savevm: Implement block_writev_buffer() 2013-04-15 08:26:18 +02:00
monitor qdev: DEVICE_DELETED event 2013-03-17 13:27:27 +02:00
net hw: move headers to include/ 2013-04-08 18:13:10 +02:00
qapi qstring: add qstring_get_length() 2013-04-05 08:42:29 -04:00
qemu memory: move core typedefs to qemu/typedefs.h 2013-04-15 18:19:26 +02:00
qom Fix typos and misspellings 2013-03-22 13:25:07 +01:00
sysemu chardev: remove the headers of Memory chardev driver 2013-04-17 10:22:32 -05:00
ui Fix warnings suppressors to honor --disable-werror 2013-04-17 10:28:04 -05:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
glib-compat.h glib: add a compatibility interface for g_timeout_add_seconds 2013-03-25 13:10:40 -05:00
libfdt_env.h fdt: Use bswapN instead of bswap_N 2013-01-12 12:22:58 +00:00
qemu-common.h unicode: New mod_utf8_codepoint() 2013-04-13 19:39:59 +00:00
trace.h build: some simplifications for "trace/Makefile.objs" 2013-01-12 18:42:51 +01:00