[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 0/5] proposal to make hostmem listener RAM unplug
From: |
Liu Ping Fan |
Subject: |
[Qemu-devel] [PATCH v3 0/5] proposal to make hostmem listener RAM unplug safe |
Date: |
Mon, 6 May 2013 20:48:55 +0800 |
Open issue:
As to [PATCH v3 2/5] hostmem: AddressSpace has its own map and maintained by
RCU prepared style,
Paolo may want to use memory_region_find() to re-implement hostmem. It is
still under discussion
v2->v3:
1.Drop the memory region's ref in virtio-blk. Now all the reference are kept
inside Vring.
v1->v2:
1.split RCU prepared style update and monitor the RAM-Device refcnt into two
patches (patch 2,4)
2.introduce AddrSpaceMem, which is similar to HostMem, but based on address
space, while
the original HostMem only server system memory address space
*** BLURB HERE ***
Liu Ping Fan (5):
hostmem: make hostmem single, not per Vring related
hostmem: AddressSpace has its own map and maintained by RCU prepared
style
memory: add ref/unref interface for MemroyRegionOps
hostmem: hostmem listener pin RAM-Device by refcnt
Vring: use hostmem's RAM safe api
exec.c | 2 +
hw/block/dataplane/virtio-blk.c | 8 --
hw/virtio/dataplane/hostmem.c | 150 ++++++++++++++++++++++++---------
hw/virtio/dataplane/vring.c | 98 ++++++++++++++++-----
include/exec/memory.h | 10 ++
include/hw/virtio/dataplane/hostmem.h | 33 +++++---
include/hw/virtio/dataplane/vring.h | 16 ++++-
memory.c | 18 ++++
8 files changed, 251 insertions(+), 84 deletions(-)
--
1.7.4.4
- [Qemu-devel] [PATCH v3 0/5] proposal to make hostmem listener RAM unplug safe,
Liu Ping Fan <=
- [Qemu-devel] [PATCH v3 1/5] hostmem: make hostmem single, not per Vring related, Liu Ping Fan, 2013/05/06
- [Qemu-devel] [PATCH v3 2/5] hostmem: AddressSpace has its own map and maintained by RCU prepared style, Liu Ping Fan, 2013/05/06
- [Qemu-devel] [PATCH v3 3/5] memory: add ref/unref interface for MemroyRegionOps, Liu Ping Fan, 2013/05/06
- [Qemu-devel] [PATCH v3 4/5] hostmem: hostmem listener pin RAM-Device by refcnt, Liu Ping Fan, 2013/05/06
- [Qemu-devel] [PATCH v3 5/5] Vring: use hostmem's RAM safe api, Liu Ping Fan, 2013/05/06