提交 92b54f1c 编写于 作者: A Alexander Burluka 提交者: Dmitry Guryanov

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.
上级 9146fd7a
...@@ -2437,10 +2437,8 @@ static int prlsdkCheckDiskUnsupportedParams(virDomainDiskDefPtr disk) ...@@ -2437,10 +2437,8 @@ static int prlsdkCheckDiskUnsupportedParams(virDomainDiskDefPtr disk)
} }
if (disk->serial) { if (disk->serial) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", VIR_INFO("%s", _("Setting disk serial number is not "
_("Setting disk serial number is not "
"supported by parallels driver.")); "supported by parallels driver."));
return -1;
} }
if (disk->wwn) { if (disk->wwn) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册