storage/lvm: save pool's revision_to_keep property

And also report it as part of admin.pool.Info Admin API.

QubesOS/qubes-issues#3256
This commit is contained in:
Marek Marczykowski-Górecki 2018-04-13 15:56:23 +02:00
parent b168c4a6d7
commit 94c8e25d3c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -68,7 +68,8 @@ class ThinPool(qubes.storage.Pool):
'name': self.name,
'volume_group': self.volume_group,
'thin_pool': self.thin_pool,
'driver': ThinPool.driver
'driver': ThinPool.driver,
'revisions_to_keep': self.revisions_to_keep,
}
def destroy(self):