summaryrefslogtreecommitdiff
path: root/tools/libvirt-guests.sysconf
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2012-03-05 17:06:57 -0700
committerEric Blake <eblake@redhat.com>2012-03-07 18:24:45 -0700
commit210ed0e871c628cc696bcf7cc0531b8b8dfcd533 (patch)
tree271b1d5d97420926976f66949a9e91a0d039bbda /tools/libvirt-guests.sysconf
parentab95da40587665063b0c8eaeae22c91003f0da1c (diff)
downloadlibvirt-210ed0e871c628cc696bcf7cc0531b8b8dfcd533.tar.gz
virsh: improve memory unit parsing
The last vestige of the inaccurate 'kilobytes' when we meant 1024 is now gone. And virsh is now useful for setting memory in units other than KiB. * tools/virsh.c (cmdSetmem, cmdSetmaxmem): Use new helper routine, allow passing bogus arguments on to hypervisor to test driver sanity checking, and fix leak on parse error. (vshMemtuneGetSize): New helper. (cmdMemtune): Use it. * tools/virsh.pod (setmem, setmaxmem, memtune): Document this.
Diffstat (limited to 'tools/libvirt-guests.sysconf')
0 files changed, 0 insertions, 0 deletions