mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
vz: set something in disk driver name
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.
This commit is contained in:
parent
d6e3af6209
commit
bdaf5e8098
@ -647,6 +647,9 @@ prlsdkGetDiskInfo(vzDriverPtr driver,
|
||||
VIR_FREE(disk->serial);
|
||||
}
|
||||
|
||||
if (virDomainDiskSetDriver(disk, "vz") < 0)
|
||||
goto cleanup;
|
||||
|
||||
ret = 0;
|
||||
|
||||
cleanup:
|
||||
|
Loading…
x
Reference in New Issue
Block a user