mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemuDomainDiskChangeSupported: Fill in missing check
The attribute 'discard_no_unref' of <disk/> is not allowed to be changed while the virtual machine is running. Resolves: https://issues.redhat.com/browse/RHEL-37542 Signed-off-by: Adam Julis <ajulis@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
43a0881274
commit
3a9095976e
@ -8459,6 +8459,7 @@ qemuDomainDiskChangeSupported(virDomainDiskDef *disk,
|
||||
CHECK_EQ(ioeventfd, "ioeventfd", true);
|
||||
CHECK_EQ(event_idx, "event_idx", true);
|
||||
CHECK_EQ(copy_on_read, "copy_on_read", true);
|
||||
CHECK_EQ(discard_no_unref, "discard_no_unref", true);
|
||||
/* "snapshot" is a libvirt internal field and thus can be changed */
|
||||
/* startupPolicy is allowed to be updated. Therefore not checked here. */
|
||||
CHECK_EQ(transient, "transient", true);
|
||||
|
Loading…
Reference in New Issue
Block a user