summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrent s <bts@square-r00t.net>2019-11-29 07:47:50 -0500
committerbrent s <bts@square-r00t.net>2019-11-29 07:47:50 -0500
commitfcc2cb674f80052e58948b63d9ea88bf9dcf44be (patch)
treeaa2cfb78ef18982f5b4c484e2c45930ecd10c68e
parentadd247d62212e6b5557f4bbc45d6303809f13c19 (diff)
downloadOpTools-fcc2cb674f80052e58948b63d9ea88bf9dcf44be.tar.xz
in KiB, not bytes. TODO: maybe convert to bytes?
-rwxr-xr-xlibvirt/better_virsh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt/better_virsh.py b/libvirt/better_virsh.py
index 8be73b4..1a8e488 100755
--- a/libvirt/better_virsh.py
+++ b/libvirt/better_virsh.py
@@ -90,7 +90,7 @@ class LV(object):
('isPersistent', 'persistent'),
('isUpdated', 'updated')),
'int': (('ID', 'id'),
- ('maxMemory', 'max_memory_bytes'),
+ ('maxMemory', 'max_memory_KiB'),
('maxVcpus', 'max_vCPUs'))}
for t in targets:
if not verbose: