nova/nova/privsep
LuyaoZhong c39ad2383c libvirt: Support VM creation with vpmems and vpmems cleanup
Add the vpmems config into guest config xml according to
resources info in the instance object, then users can build
a VM with vpmems. Also this patch add the support for
data cleanup on the backend device of the vpmems.

note:
We modify the root <domain> element generated for libvirt to
include <maxMemory> elements when memory device is used.[1]

Requiring vpmems implies a NUMA topology because libvirt won't let us
use vpmem without NUMA.[2]

[1]https://github.com/libvirt/libvirt/blob/master/src/qemu/qemu_domain.c#L11593-L11599
[2]https://github.com/libvirt/libvirt/blob/master/src/qemu/qemu_domain.c#L11604-L11615

Change-Id: I725deb0312c930087c9e60115abe68b4e06e6804
Partially-Implements: blueprint virtual-persistent-memory
Co-Authored-By: He Jie Xu <hejie.xu@intel.com>
2019-09-13 08:50:35 +00:00
..
__init__.py Squash dacnet_admin privsep context. 2017-09-18 23:17:35 +10:00
fs.py Improve test coverage of nova.privsep.fs, continued. 2019-04-04 20:42:43 +00:00
idmapshift.py Move the idmapshift binary into privsep. 2017-10-24 18:50:23 +11:00
libvirt.py libvirt: Support VM creation with vpmems and vpmems cleanup 2019-09-13 08:50:35 +00:00
linux_net.py Address nits from privsep series 2019-08-22 11:37:02 +01:00
path.py Remove no longer required "inner" methods. 2019-06-26 15:30:20 +01:00
qemu.py Add test coverage for nova.privsep.qemu. 2019-04-04 20:44:01 +00:00
utils.py Move killing processes to privsep. 2019-03-06 11:51:03 -08:00
xenapi.py Move xenapi partition copies to privsep. 2018-04-13 07:19:39 +10:00