mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
virt-install: add --resource support
This patch will enable setting resource partition configuration. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
@@ -213,6 +213,9 @@ class XMLParseTest(unittest.TestCase):
|
||||
check("gid_target", None, 1000)
|
||||
check("gid_count", None, 10)
|
||||
|
||||
check = self._make_checker(guest.resource)
|
||||
check("partition", None, "/virtualmachines/production")
|
||||
|
||||
check = self._make_checker(guest.get_devices("memballoon")[0])
|
||||
check("model", "virtio", "none")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user