]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vz: fix boot check to use new disk id
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Thu, 14 Apr 2016 10:45:05 +0000 (13:45 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Tue, 19 Apr 2016 16:52:37 +0000 (19:52 +0300)
commit29439964a269b4da0c20d6fe2cd7167f2357bb25
tree9aece4d38019aeb35258f4f4422929266ae2358e
parentc7ba62009db38cf4d157e3e6e16ea8f24e50cc33
vz: fix boot check to use new disk id

Current implementation does not detect all incompatible configurations.
For example if we have in vzsdk bootorder "cdrom1, cdrom0" (that is
"hdb, hda" in case of ide cdroms) and cdroms do not have disk
images inserted. In this case boot order check code fails to
distiguish them at all as for both PrlVmDev_GetFriendlyName gives "".
Well the consequences are only missing warnings but as
we just have introduced all the necessary tools to face the problem -
let's fix it.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
src/vz/vz_sdk.c