Do not serialize the domain pool config
This commit is contained in:
parent
baaac858bc
commit
ddf040ae64
@ -708,7 +708,9 @@ class Qubes(qubes.PropertyHolder):
|
||||
|
||||
pools_xml = lxml.etree.Element('pools')
|
||||
for pool in self.pools.values():
|
||||
pools_xml.append(pool.__xml__())
|
||||
xml = pool.__xml__()
|
||||
if xml is not None:
|
||||
pools_xml.append(xml)
|
||||
|
||||
element.append(pools_xml)
|
||||
|
||||
|
@ -64,6 +64,9 @@ class DomainPool(Pool):
|
||||
def clone(self, source, target):
|
||||
raise NotImplementedError
|
||||
|
||||
def __xml__(self):
|
||||
return None
|
||||
|
||||
|
||||
class DomainVolume(Volume):
|
||||
''' A volume provided by a block device in an domain '''
|
||||
|
Loading…
Reference in New Issue
Block a user