mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
qemu: emit error when trying to update blkiotune group_name in qemuDomainChangeDiskLive
The rest of blkiotune parameters are not updatable through UpdateDeviceFlags API. https://bugzilla.redhat.com/show_bug.cgi?id=1601677 Signed-off-by: Katerina Koukiou <kkoukiou@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
b3d9b08ef7
commit
047cfb05ee
@ -8806,6 +8806,9 @@ qemuDomainDiskChangeSupported(virDomainDiskDefPtr disk,
|
||||
CHECK_EQ(blkdeviotune.size_iops_sec,
|
||||
"blkdeviotune size_iops_sec",
|
||||
true);
|
||||
CHECK_EQ(blkdeviotune.group_name,
|
||||
"blkdeviotune group_name",
|
||||
true);
|
||||
|
||||
if (disk->serial && STRNEQ_NULLABLE(disk->serial, orig_disk->serial)) {
|
||||
virReportError(VIR_ERR_OPERATION_UNSUPPORTED,
|
||||
|
Loading…
x
Reference in New Issue
Block a user