nova/nova/tests/unit/virt/libvirt
Stephen Finucane 8310c0ec9f libvirt: '_get_(v|p)cpu_total' to '_get_(v|p)cpu_available'
We're going to need easier access to the IDs of host cores that can be
used for PCPUs going forward. Rename both '_get_pcpu_total' and
'_get_vcpu_total' to '_get_pcpu_available' and '_get_vcpu_available',
respectively, making some minor modifications to ensure the correct
value is returned..

The 'get_cpu_count' function is removed from 'nova.virt.libvirt.host'
since it no longer has any callers.

Change-Id: I98efdc61fd456fc7f9e1a85238c9ef9bc04a1252
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2019-09-18 00:19:33 +01:00
..
storage Merge "rbd: use MAX_AVAIL stat for reporting bytes available" 2019-08-29 13:49:46 +00:00
volume Decouple NVMe tests from os-brick 2019-09-06 21:53:53 +00:00
__init__.py
fake_imagebackend.py Pass disk_info dict to libvirt_info 2018-11-02 13:54:13 +00:00
fake_libvirt_data.py Merge "Apply SEV-specific guest config when SEV is required" 2019-09-11 08:33:59 +00:00
fake_os_brick_connector.py Switch to using os-brick 2015-07-27 10:47:22 -07:00
fakelibvirt.py Merge "libvirt: Fix service-wide pauses caused by un-proxied libvirt calls" 2019-09-16 18:20:08 +00:00
test_blockinfo.py libvirt: Use SATA bus for cdrom devices when using Q35 machine type 2019-06-12 08:00:45 +00:00
test_config.py libvirt: Support VM creation with vpmems and vpmems cleanup 2019-09-13 08:50:35 +00:00
test_designer.py Apply SEV-specific guest config when SEV is required 2019-09-10 13:59:02 +01:00
test_driver.py libvirt: '_get_(v|p)cpu_total' to '_get_(v|p)cpu_available' 2019-09-18 00:19:33 +01:00
test_fakelibvirt.py libvirt: Simplify 'fakelibvirt.HostInfo' object 2019-09-03 09:42:14 +01:00
test_firewall.py Move iptables rule fetching and setting to privsep. 2019-08-16 11:24:07 +01:00
test_guest.py Avoid logging traceback when detach device not found 2019-07-19 00:04:37 +00:00
test_host.py libvirt: '_get_(v|p)cpu_total' to '_get_(v|p)cpu_available' 2019-09-18 00:19:33 +01:00
test_imagebackend.py Get rid of args to RBDDriver.__init__() 2019-07-29 08:02:19 +00:00
test_imagecache.py config: remove deprecated checksum options 2019-08-15 11:47:51 -04:00
test_migration.py LM: Use Claims to update numa-related XML on the source 2019-09-12 17:34:34 -04:00
test_utils.py Apply SEV-specific guest config when SEV is required 2019-09-10 13:59:02 +01:00
test_vif.py Apply SEV-specific guest config when SEV is required 2019-09-10 13:59:02 +01:00