mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-24 02:04:13 +03:00
storage: Only try lazy_refcounts with format=qcow2
This commit is contained in:
parent
de21747dbb
commit
67743cbe31
@ -9,8 +9,5 @@
|
||||
<owner>10736</owner>
|
||||
<group>10736</group>
|
||||
</permissions>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
</features>
|
||||
</target>
|
||||
</volume>
|
||||
|
@ -9,8 +9,5 @@
|
||||
<owner>10736</owner>
|
||||
<group>10736</group>
|
||||
</permissions>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
</features>
|
||||
</target>
|
||||
</volume>
|
||||
|
@ -8,8 +8,5 @@
|
||||
<owner>10736</owner>
|
||||
<group>10736</group>
|
||||
</permissions>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
</features>
|
||||
</target>
|
||||
</volume>
|
||||
|
@ -9,8 +9,5 @@
|
||||
<owner>10736</owner>
|
||||
<group>10736</group>
|
||||
</permissions>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
</features>
|
||||
</target>
|
||||
</volume>
|
||||
|
@ -9,8 +9,5 @@
|
||||
<owner>10736</owner>
|
||||
<group>10736</group>
|
||||
</permissions>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
</features>
|
||||
</target>
|
||||
</volume>
|
||||
|
@ -9,8 +9,5 @@
|
||||
<owner>10736</owner>
|
||||
<group>10736</group>
|
||||
</permissions>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
</features>
|
||||
</target>
|
||||
</volume>
|
||||
|
@ -8,8 +8,5 @@
|
||||
<owner>10736</owner>
|
||||
<group>10736</group>
|
||||
</permissions>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
</features>
|
||||
</target>
|
||||
</volume>
|
||||
|
@ -8,8 +8,5 @@
|
||||
<owner>10736</owner>
|
||||
<group>10736</group>
|
||||
</permissions>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
</features>
|
||||
</target>
|
||||
</volume>
|
||||
|
@ -9,8 +9,5 @@
|
||||
<owner>10736</owner>
|
||||
<group>10736</group>
|
||||
</permissions>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
</features>
|
||||
</target>
|
||||
</volume>
|
||||
|
@ -9,8 +9,5 @@
|
||||
<owner>10736</owner>
|
||||
<group>10736</group>
|
||||
</permissions>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
</features>
|
||||
</target>
|
||||
</volume>
|
||||
|
@ -631,6 +631,8 @@ class StorageVolume(_StorageObject):
|
||||
backing_store = XMLProperty("./backingStore/path")
|
||||
|
||||
def _lazy_refcounts_default_cb(self):
|
||||
if self.format != "qcow2":
|
||||
return False
|
||||
return self.conn.check_support(
|
||||
self.conn.SUPPORT_CONN_QCOW2_LAZY_REFCOUNTS)
|
||||
lazy_refcounts = XMLProperty("./target/features/lazy_refcounts",
|
||||
|
Loading…
x
Reference in New Issue
Block a user