[PATCH] hw/misc: Add a virtual pci device to dynamically attach memory to QEMU

2021-09-25 Thread David Dai
management for virtualization. Multiple VMs dynamically share same computing device memory without memory overcommit. Signed-off-by: David Dai --- docs/devel/dynamic_mdev.rst | 122 ++ hw/misc/Kconfig | 5 + hw/misc/dynamic_mdev.c | 456

[no subject]

2021-09-25 Thread David Dai
Add a virtual pci to QEMU, this pci device is used to dynamically attach memroy to VM, so driver in guest can apply host memory in fly without virtualization management software's help, such as libvirt/manager. The attached memory is isolated from System RAM, it can be used in heterogeneous

[Qemu-devel] [PATCH 1/1] Migration: libvirt live migration over RDMA of ipv6 addr failed

2017-01-24 Thread David Dai
eba:::49152" after it strips off the bracket '[' and ']' for an ip v6 address. On qemu side, fd_start_outgoing_migration() will be called to do migration. It doesn't call inet_parse(). So we don't see issue in tcp case. Solution: I choose to fix the code in qemu's inet_parse() routine to pars