nova/nova/virt
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
..
disk [Trivial]Remove unused helper get_allocated_disk_size 2019-08-28 13:36:52 +08:00
hyperv Add power_on kwarg to ComputeDriver.spawn() method 2019-08-27 14:26:33 -04:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03:00
ironic Merge "Fix rebuild of baremetal instance when vm_state is ERROR" 2019-09-07 23:08:19 +00:00
libvirt libvirt: Support VM creation with vpmems and vpmems cleanup 2019-09-13 08:50:35 +00:00
powervm Add power_on kwarg to ComputeDriver.spawn() method 2019-08-27 14:26:33 -04:00
vmwareapi Remove unused methods 2019-09-04 15:26:59 +09:00
xenapi Remove unused methods 2019-09-04 15:26:59 +09:00
zvm Add power_on kwarg to ComputeDriver.spawn() method 2019-08-27 14:26:33 -04:00
__init__.py Declare nova.virt namespace 2016-04-28 15:01:44 +00:00
arch.py Added ability to configure default architecture for ImagePropertiesFilter 2018-05-14 16:55:13 -04:00
block_device.py Merge "hacking: Resolve W503 (line break occurred before a binary operator)" 2019-06-26 01:31:16 +00:00
configdrive.py Skip existing VMs when hosts apply force_config_drive 2019-05-22 21:02:16 +00:00
driver.py Add power_on kwarg to ComputeDriver.spawn() method 2019-08-27 14:26:33 -04:00
event.py Port binding based on events during live migration 2018-07-19 09:09:55 -04:00
fake.py Add power_on kwarg to ComputeDriver.spawn() method 2019-08-27 14:26:33 -04:00
firewall.py Merge "Remove translation of log messages" 2017-06-20 21:16:49 +00:00
hardware.py libvirt: Support VM creation with vpmems and vpmems cleanup 2019-09-13 08:50:35 +00:00
imagecache.py Rename ImageCacheManager._list_base_images to _scan_base_images 2016-05-26 14:45:42 +01:00
images.py Improve libvirt image and snapshot handling 2019-03-05 12:18:34 -06:00
interfaces.template
netutils.py libvirt: add vf_trusted field for network metadata 2018-05-30 15:11:59 -04:00
osinfo.py Stop sending bad values from libosinfo to libvirt 2019-07-04 15:30:51 +01:00
storage_users.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
virtapi.py Add VirtAPI.update_compute_provider_status 2019-07-02 11:45:40 -04:00