]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: fix range of memtune command
authorEric Blake <eblake@redhat.com>
Tue, 19 Oct 2010 16:44:31 +0000 (10:44 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 26 Oct 2010 15:31:42 +0000 (09:31 -0600)
commit009035ffad5f5d0e2a25ca6d933bc3c169d25956
treeb491f526ac57cba702545c4e6fd247da5a165b78
parentc1564268c4f08efbff672f4654b939c5196bc42c
virsh: fix range of memtune command

* tools/virsh.c (cmdMemtune): Use long long for memory
sizes. Simplify allocation, and plug memory leak.
tools/virsh.c