A few fixes caught by "make check" (yes, brown paper bag). Paolo
v2->v3: patch 1 committed already (replaced by new patch 1) fix error handling in patch 3 fix freeing uninitialized VRingMemoryRegionCache (patch 7) new patch 8 Paolo Bonzini (9): memory: make memory_listener_unregister idempotent virtio: add virtio_*_phys_cached virtio: use address_space_map/unmap to access descriptors exec: make address_space_cache_destroy idempotent virtio: use MemoryRegionCache to access descriptors virtio: add MemoryListener to cache ring translations virtio: use VRingMemoryRegionCaches for descriptor ring virtio: check for ring setup in virtio_queue_update_used_idx virtio: use VRingMemoryRegionCaches for avail and used rings exec.c | 1 + hw/net/virtio-net.c | 14 +- hw/virtio/virtio.c | 338 ++++++++++++++++++++++++++++++-------- include/exec/memory.h | 2 + include/hw/virtio/virtio-access.h | 52 ++++++ include/hw/virtio/virtio.h | 1 + memory.c | 5 + 7 files changed, 345 insertions(+), 68 deletions(-) -- 1.8.3.1