nova/nova
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
..
api Add user_id and project_id column to Migration 2019-09-12 16:52:12 +00:00
cmd Nova object changes for forbidden aggregates request filter 2019-09-09 20:16:32 +00:00
common
compute Claim resources in resource tracker 2019-09-13 08:50:35 +00:00
conductor Add min service level check for migrate with bandwidth 2019-09-06 16:41:08 +02:00
conf Merge "vCPU model selection" 2019-09-11 22:59:42 +00:00
console Merge "objects: Remove ConsoleAuthToken.to_dict" 2019-09-06 18:51:31 +00:00
db db: Add resources column in instance_extra table 2019-09-13 08:50:32 +00:00
hacking Add a hacking rule for useless assertions 2019-08-21 14:42:53 +09:00
image hacking: Resolve W503 (line break occurred before a binary operator) 2019-06-24 14:24:06 -05:00
ipv6
keymgr
locale Imported Translations from Zanata 2019-03-22 06:26:27 +00:00
network Merge "update allocation in binding profile during migrate" 2019-09-06 10:20:57 +00:00
notifications Update api-ref location 2019-07-22 19:17:28 +02:00
objects libvirt: Enable driver discovering PMEM namespaces 2019-09-13 08:50:35 +00:00
pci hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00
policies Add server sub-resource topology API 2019-08-30 10:04:56 +08:00
privsep libvirt: Support VM creation with vpmems and vpmems cleanup 2019-09-13 08:50:35 +00:00
scheduler Support reverting migration / resize with bandwidth 2019-09-12 09:19:27 +00:00
servicegroup [Trivial fix]Remove unnecessary slash 2019-05-06 16:23:59 +08:00
tests libvirt: Support VM creation with vpmems and vpmems cleanup 2019-09-13 08:50:35 +00:00
virt libvirt: Support VM creation with vpmems and vpmems cleanup 2019-09-13 08:50:35 +00:00
vnc xvp: Remove use of '_LI' marker 2019-06-19 10:04:45 +01:00
volume Add docstring to check_availability_zone function 2019-08-22 18:38:51 +00:00
__init__.py Eventlet monkey patching should be as early as possible 2019-03-22 09:27:16 +00:00
availability_zones.py Always pass HostAPI to get_availability_zones 2019-04-26 15:30:48 -04:00
baserpc.py
block_device.py hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00
cache_utils.py
config.py Delete the placement code 2019-04-28 20:06:15 +00:00
context.py Merge "Move default policy target" 2019-07-27 00:32:20 +00:00
crypto.py
debugger.py
exception.py libvirt: Support VM creation with vpmems and vpmems cleanup 2019-09-13 08:50:35 +00:00
exception_wrapper.py
filters.py filters: Stop handling cells v1 2019-06-12 16:09:46 +01:00
hooks.py
i18n.py
loadables.py
manager.py
monkey_patch.py Bump to hacking 1.1.0 2019-04-12 16:23:49 +01:00
policy.py Move default policy target 2019-06-03 16:44:50 +01:00
profiler.py
quota.py Log quota legacy method warning only if counting from placement 2019-06-17 21:31:53 +00:00
rpc.py Remove unnecessary wrapper 2019-05-29 17:14:13 +01:00
safe_utils.py
service.py Remove nova-consoleauth 2019-07-05 15:04:47 +00:00
service_auth.py
test.py Tests: autospecs all the mock.patch usages 2019-08-19 09:43:10 -05:00
utils.py Allow strict_proxies for sdk Connection 2019-08-23 14:14:40 -05:00
version.py
weights.py Per aggregate scheduling weight 2019-01-21 11:48:44 +08:00
wsgi.py