diff --git a/qubes/storage/xen.py b/qubes/storage/xen.py index 020b3270..01463b39 100644 --- a/qubes/storage/xen.py +++ b/qubes/storage/xen.py @@ -38,6 +38,7 @@ BLKSIZE = 512 class XenPool(Pool): ''' File based 'original' disk implementation ''' + driver = 'xen' def __init__(self, name=None, dir_path=None): super(XenPool, self).__init__(name=name) @@ -77,6 +78,14 @@ class XenPool(Pool): return volume + @property + def config(self): + return { + 'name': self.name, + 'dir_path': self.dir_path, + 'driver': XenPool.driver, + } + def resize(self, volume, size): ''' Expands volume, throws :py:class:`qubst.storage.StoragePoolException` if given size is