nova/nova/tests/unit/virt/libvirt
Stephen Finucane 3b99747b42 libvirt: Don't allow "reserving" file-backed memory
When file-backed memory is configured, it is the only "memory" reported
by nova and used by instances, with RAM used in caching capacity. We
should be warning users of this and insisting they explicitly configure
the '[DEFAULT] reserved_host_memory_mb' config option to 0. However,
doing so now would be breaking change. Instead, start logging a warning
instead, failing only for the truly broken combination of reserving more
file-backed memory than we have allocated.

Change-Id: I9619338ad0f60253b628d96543f8ce3ac86242e3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Closes-Bug: #1882821
2020-06-10 10:40:59 +00:00
..
storage rbd_utils: increase _destroy_volume timeout 2020-05-20 00:08:54 +00:00
volume Cleanup libvirt test_mount unit tests 2020-05-22 15:56:35 +00:00
__init__.py
fake_imagebackend.py Merge "Functional tests for NUMA live migration" 2020-04-28 20:46:37 +00:00
fake_libvirt_data.py Also enable iommu for virtio controllers and video in libvirt 2019-12-10 11:01:08 +00:00
fake_os_brick_connector.py Switch to using os-brick 2015-07-27 10:47:22 -07:00
fakelibvirt.py Merge "Functional tests for NUMA live migration" 2020-04-28 20:46:37 +00:00
test_blockinfo.py fup: Combine SUPPORTED_DEVICE_BUS and SUPPORTED_STORAGE_BUSES 2020-04-09 09:05:13 +01:00
test_config.py libvirt: Use domain capabilities to get supported device models 2020-03-24 17:28:09 +00:00
test_designer.py Create a controller for qga when SEV is used 2019-12-10 11:01:08 +00:00
test_driver.py libvirt: Don't allow "reserving" file-backed memory 2020-06-10 10:40:59 +00:00
test_fakelibvirt.py libvirt: Get the CPU model, not 'arch' from get_capabilities() 2019-09-20 16:04:46 +00:00
test_guest.py libvirt: Always provide the size in bytes when calling virDomainBlockResize 2020-04-01 15:28:32 +01:00
test_host.py libvirt: check job status for VIR_DOMAIN_EVENT_SUSPENDED_MIGRATED event 2019-11-05 16:05:02 +00:00
test_imagebackend.py Make RBD imagebackend flatten method idempotent 2020-01-28 14:30:40 +01:00
test_imagecache.py Reserve DISK_GB resource for the image cache 2020-05-19 17:47:50 +02:00
test_migration.py Remove compatibility check from migrate_data 2020-05-22 13:39:34 +02:00
test_utils.py images: Make JSON the default output format of calls to qemu-img info 2020-04-16 16:38:24 +01:00
test_vif.py nova-net: Copy shared utils from nova-net module 2020-01-08 13:54:12 +00:00