From: Nikolay Shirokovskiy <nshirokovskiy@xxxxxxxxxxxxx> Absent driver name attribute is invalid xml. Which in turn makes unusable 'virsh edit' for example. The value does not make much sense and ignored on input so nobody will hurt. --- src/vz/vz_sdk.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vz/vz_sdk.c b/src/vz/vz_sdk.c index f36064d..8178d3b 100644 --- a/src/vz/vz_sdk.c +++ b/src/vz/vz_sdk.c @@ -632,6 +632,9 @@ prlsdkGetDiskInfo(vzDriverPtr driver, if (virDiskNameToBusDeviceIndex(disk, &busIdx, &devIdx) < 0) goto cleanup; + if (virDomainDiskSetDriver(disk, "vz") < 0) + goto cleanup; + address = &disk->info.addr.drive; address->bus = busIdx; address->target = 0; -- 2.4.11 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list