mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-13 00:01:55 +00:00
parallels: set file format in virDomainDef
Set file format in virDomainDef structure to produce correct XML in virDomainGetXMLDesc function. Signed-off-by: Dmitry Guryanov <dguryanov@parallels.com>
This commit is contained in:
parent
13f229aa0f
commit
5530424af2
@ -321,6 +321,8 @@ parallelsGetHddInfo(virDomainDefPtr def,
|
||||
|
||||
if (virDomainDiskSetSource(disk, tmp) < 0)
|
||||
return -1;
|
||||
|
||||
virDomainDiskSetFormat(disk, VIR_STORAGE_FILE_PLOOP);
|
||||
}
|
||||
|
||||
tmp = virJSONValueObjectGetString(value, "port");
|
||||
|
Loading…
x
Reference in New Issue
Block a user