1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

Parallels: remove disk serial number check

OpenStack needs disk serial number setup because
nova boot --block-device-mapping command generates that param in
libvirt xml. I took QEMU libvirt driver behavior as a base.
QEMU driver skips inability to set serial and continues work.
So Parallels driver will ignore this param too and let domain
boot.
This commit is contained in:
Alexander Burluka 2015-04-09 13:42:00 +03:00 committed by Dmitry Guryanov
parent 9146fd7aa9
commit 92b54f1c4a

View File

@ -2437,10 +2437,8 @@ static int prlsdkCheckDiskUnsupportedParams(virDomainDiskDefPtr disk)
}
if (disk->serial) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
_("Setting disk serial number is not "
VIR_INFO("%s", _("Setting disk serial number is not "
"supported by parallels driver."));
return -1;
}
if (disk->wwn) {