mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-14 16:45:20 +00:00
vz: support disabled items in vz boot order
At the time the check was written virtuozzo did not use disabled items in boot order configuration. Boot items were always enabled. Now they can be disabled as well. Supporting such items is easy - they just should be ignored.
This commit is contained in:
parent
d89fa8306e
commit
f3cdbf22e3
@ -1790,11 +1790,8 @@ prlsdkConvertBootOrderVm(PRL_HANDLE sdkdom, virDomainDefPtr def)
|
||||
pret = PrlBootDev_IsInUse(bootDev, &inUse);
|
||||
prlsdkCheckRetGoto(pret, cleanup);
|
||||
|
||||
if (!inUse) {
|
||||
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
||||
_("Boot ordering with disabled items is not supported"));
|
||||
goto cleanup;
|
||||
}
|
||||
if (!inUse)
|
||||
continue;
|
||||
|
||||
pret = PrlBootDev_GetSequenceIndex(bootDev, &bootIndex);
|
||||
prlsdkCheckRetGoto(pret, cleanup);
|
||||
|
Loading…
x
Reference in New Issue
Block a user