From 92b54f1c4a926e838e44a0e818ae6324bd52a80d Mon Sep 17 00:00:00 2001 From: Alexander Burluka Date: Thu, 9 Apr 2015 13:42:00 +0300 Subject: [PATCH] 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. --- src/parallels/parallels_sdk.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/parallels/parallels_sdk.c b/src/parallels/parallels_sdk.c index d1998987fe..36ea7a8b16 100644 --- a/src/parallels/parallels_sdk.c +++ b/src/parallels/parallels_sdk.c @@ -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) { -- GitLab