mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 15:15:22 +00:00
volume creation parameters changed to support latest version of qemu compatibility
This commit is contained in:
parent
07ae335d79
commit
88f187c94f
2 changed files with 12 additions and 0 deletions
|
@ -131,6 +131,10 @@ class wvmCreate(wvmConnect):
|
||||||
<mode>0644</mode>
|
<mode>0644</mode>
|
||||||
<label>virt_image_t</label>
|
<label>virt_image_t</label>
|
||||||
</permissions>
|
</permissions>
|
||||||
|
<compat>1.1</compat>
|
||||||
|
<features>
|
||||||
|
<lazy_refcounts/>
|
||||||
|
</features>
|
||||||
</target>
|
</target>
|
||||||
</volume>""" % (clone, format)
|
</volume>""" % (clone, format)
|
||||||
stg.createXMLFrom(xml, vol, metadata)
|
stg.createXMLFrom(xml, vol, metadata)
|
||||||
|
|
|
@ -227,6 +227,10 @@ class wvmStorage(wvmConnect):
|
||||||
<mode>0644</mode>
|
<mode>0644</mode>
|
||||||
<label>virt_image_t</label>
|
<label>virt_image_t</label>
|
||||||
</permissions>
|
</permissions>
|
||||||
|
<compat>1.1</compat>
|
||||||
|
<features>
|
||||||
|
<lazy_refcounts/>
|
||||||
|
</features>
|
||||||
</target>
|
</target>
|
||||||
</volume>""" % (name, size, alloc, vol_fmt)
|
</volume>""" % (name, size, alloc, vol_fmt)
|
||||||
self._createXML(xml, metadata)
|
self._createXML(xml, metadata)
|
||||||
|
@ -251,6 +255,10 @@ class wvmStorage(wvmConnect):
|
||||||
<mode>0644</mode>
|
<mode>0644</mode>
|
||||||
<label>virt_image_t</label>
|
<label>virt_image_t</label>
|
||||||
</permissions>
|
</permissions>
|
||||||
|
<compat>1.1</compat>
|
||||||
|
<features>
|
||||||
|
<lazy_refcounts/>
|
||||||
|
</features>
|
||||||
</target>
|
</target>
|
||||||
</volume>""" % (target_file, vol_fmt)
|
</volume>""" % (target_file, vol_fmt)
|
||||||
self._createXMLFrom(xml, vol, metadata)
|
self._createXMLFrom(xml, vol, metadata)
|
||||||
|
|
Loading…
Reference in a new issue