mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu: hotplug: report error when changing rom enabled attr for net iface
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1599513 Signed-off-by: Katerina Koukiou <kkoukiou@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
f7b55665cc
commit
611b038fb6
@ -3225,6 +3225,11 @@ qemuDomainChangeNet(virQEMUDriverPtr driver,
|
||||
_("cannot modify network device boot index setting"));
|
||||
goto cleanup;
|
||||
}
|
||||
if (olddev->info.romenabled != newdev->info.romenabled) {
|
||||
virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
|
||||
_("cannot modify network device rom enabled setting"));
|
||||
goto cleanup;
|
||||
}
|
||||
/* (end of device info checks) */
|
||||
|
||||
if (STRNEQ_NULLABLE(olddev->filter, newdev->filter) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user