nova/nova/tests/unit/virt/hyperv
Wang Huaqiang 867d447101 objects: Introduce 'pcpuset' field for InstanceNUMACell
Introduce the 'pcpuset' to 'InstanceNUMACell' object to track the
instance pinned CPUs. The 'InstanceNUMACell.cpuset' is switched to
keep the instance unpinned CPUs only. As a result, the vCPUs of a
dedicated instance is tracked in NUMA cell object's 'pcpuset', and
vCPUs of a shared instance is put into the 'cpuset' field.

This introduces some object data migration task for an existing instance
that is in the 'dedicated' CPU allocation policy with the fact that all
the CPUs are 1:1 pinned with host CPUs, and it requires to clear the
content of 'InstanceNUMACell.cpuset' and move it to
'InstanceNUMACell.pcpuset' field.

Part of blueprint use-pcpu-and-vcpu-in-one-instance

Change-Id: I901fbd7df00e45196395ff4c69e7b8aa3359edf6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Signed-off-by: Wang Huaqiang <huaqiang.wang@intel.com>
2020-07-14 00:38:34 +08:00
..
__init__.py
test_base.py Converting nova.virt.hyperv to py3 2015-12-03 08:45:48 +00:00
test_block_device_manager.py Merge "hyperv: Fixes Generation 2 VMs volume boot order" 2017-07-01 14:00:42 +00:00
test_driver.py Pass allocations to virt drivers when resizing 2020-04-10 12:49:16 +02:00
test_eventhandler.py HyperV: Nova serial console access support 2016-05-20 18:59:23 +03:00
test_hostops.py Fix 'has_calls' method calls in unit tests 2019-08-19 07:34:29 +00:00
test_imagecache.py Consolidate [image_cache] conf options 2019-11-13 11:09:03 -06:00
test_livemigrationops.py Avoid error state for recovered instances after failed migrations 2019-08-26 11:36:56 +03:00
test_migrationops.py Hyper-V: Perform proper cleanup after cold migration 2017-08-30 17:50:11 +00:00
test_pathutils.py propagate OSError to MigrationPreCheckError 2017-10-20 16:46:15 -04:00
test_rdpconsoleops.py Hyper-V: Adds RDPConsoleOps unit tests 2015-09-07 12:47:31 +03:00
test_serialconsolehandler.py Fix wrong override value of config option proxyclient_address 2016-07-27 17:20:35 +08:00
test_serialconsoleops.py Trivial: Fixes serial console minor nits 2016-05-24 10:45:02 -07:00
test_serialproxy.py HyperV: Add serial console proxy 2016-04-18 20:32:13 +03:00
test_snapshotops.py Fix 'has_calls' method calls in unit tests 2019-08-19 07:34:29 +00:00
test_vif.py hyperv: Remove vestigial nova-network support 2019-11-29 17:20:02 +00:00
test_vmops.py objects: Introduce 'pcpuset' field for InstanceNUMACell 2020-07-14 00:38:34 +08:00
test_volumeops.py hyperv: Cleans up live migration Planned VM 2018-08-23 17:07:36 -07:00