nova/nova/objects
René Ribaud 2c3f4f2da5 Fix: migration configuration with cpu_shared_set (object part)
Live migrating to a host with cpu_shared_set configured will now
update the VM's configuration accordingly.

Example: live migrating a VM from source host with cpu_shared_set=0,1
to destination host with cpu_shared_set=2,3 will now update the
VM configuration.
(<vcpu cpuset="0-1"> will be updated to <vcpu cpuset="2-3">).

This update adds a new field, dst_cpu_shared_set_info, to the
LibvirtLiveMigrateData object, which requires an increase in the
object's version. As a result, this patch cannot be backported.

Related-Bug: #1869804
Change-Id: I806da0958fe436c989e09a52ca6b6f1bbd25a865
2024-04-24 07:53:38 -07:00
..
__init__.py Attach Manila shares via virtiofs (objects) 2024-01-22 18:10:22 +01:00
aggregate.py Merge "Fix pep8 errors with new hacking" 2023-09-22 17:34:40 +00:00
base.py Log excessive lazy-loading behavior 2023-08-21 08:53:18 -07:00
block_device.py Merge "Fix pep8 errors with new hacking" 2023-09-22 17:34:40 +00:00
build_request.py Add compute_id to Instance object 2023-05-31 07:13:16 -07:00
cell_mapping.py db: Resolve additional SAWarning warnings 2022-04-08 15:57:10 +01:00
compute_node.py Abort startup if nodename conflict is detected 2023-02-01 09:23:33 -08:00
console_auth_token.py enforce remote console shutdown 2024-02-27 13:23:49 +00:00
diagnostics.py Add NovaEphemeralObject class for non-persistent objects 2020-01-14 08:13:18 -08:00
ec2.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
external_event.py Add support for volume backed server rebuild 2022-08-31 16:38:37 +05:30
fields.py libvirt: Support maxphysaddr. 2024-02-27 14:16:25 +09:00
flavor.py Merge "Log excessive lazy-loading behavior" 2023-08-22 16:05:15 +00:00
host_mapping.py Log excessive lazy-loading behavior 2023-08-21 08:53:18 -07:00
hv_spec.py objects: Move 'hv_type' to 'fields.HVType' 2016-11-25 16:19:43 +00:00
image_meta.py Add hw_ephemeral_encryption_secret_uuid image property 2024-02-28 08:46:01 +00:00
instance.py objects: Stop fetching from security_groups table 2023-09-13 13:18:29 +01:00
instance_action.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
instance_fault.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
instance_group.py Log excessive lazy-loading behavior 2023-08-21 08:53:18 -07:00
instance_info_cache.py objects: Don't use generic 'Field' container 2022-03-29 09:56:01 +01:00
instance_mapping.py Log excessive lazy-loading behavior 2023-08-21 08:53:18 -07:00
instance_numa.py Add cpuset_reserved helper to instance NUMA topology 2024-03-08 20:31:19 -05:00
instance_pci_requests.py objects: Remove 'NovaObjectDictCompat' from 'InstancePCIRequest' 2022-03-23 15:16:00 +00:00
keypair.py objects: Stop querying the main DB for keypairs 2021-10-18 20:26:18 +01:00
migrate_data.py Fix: migration configuration with cpu_shared_set (object part) 2024-04-24 07:53:38 -07:00
migration.py Log excessive lazy-loading behavior 2023-08-21 08:53:18 -07:00
migration_context.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
monitor_metric.py Fix MonitorMetric obj_make_compatible 2016-09-12 14:10:41 +00:00
network_metadata.py Assorted cleanups from numa-aware-vswitches series 2018-07-27 09:49:12 -07:00
network_request.py [codespell] fix final typos and enable ci 2023-12-15 12:32:42 +00:00
numa.py libvirt: start tracking NUMACell.socket for hosts 2021-02-21 11:30:07 -05:00
pci_device.py Translate VF network capabilities to port binding 2023-10-17 13:31:04 +00:00
pci_device_pool.py Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
quotas.py Fix up inconsistent max_count argument in o-d-ms 2023-07-13 07:06:10 -07:00
request_spec.py Add support for showing requested az in output 2024-03-01 21:39:04 +05:30
resource.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
security_group.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
selection.py Remove deprecated AZ filter. 2023-07-17 12:22:22 +01:00
service.py Merge "Update min support for Dalmatian" 2024-03-22 17:59:39 +00:00
share_mapping.py Follow up patch to correct a minor documentation issue 2024-02-09 11:37:23 +01:00
tag.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
task_log.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
trusted_certs.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
vcpu_model.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
virt_cpu_topology.py cleanup NovaObjectDictCompat from virt_cpu_topology 2015-08-05 08:56:30 +05:30
virt_device_metadata.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00
virtual_interface.py [codespell] fix final typos and enable ci 2023-12-15 12:32:42 +00:00
volume_usage.py db: Unify 'nova.db.api', 'nova.db.sqlalchemy.api' 2021-08-09 15:34:40 +01:00