libvirt/tools
Chris Lalancette 963a5b7a08 Make virsh setmaxmem balloon only when successful.
After playing around with virsh setmaxmem for a bit,
I ran into some surprising behavior; if a hypervisor does
not support the virDomainSetMaxMemory() API, but the value
specified for setmaxmem is less than the current amount
of memory in the domain, the domain would be ballooned
down *before* an error was reported.

To make this more consistent, run virDomainSetMaxMemory()
before trying to shrink; that way, if an error is thrown,
no changes to the running domain are made.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
2010-07-20 09:44:14 -04:00
..
.gitignore Make pki_check.sh into an installed & supported tool 2009-09-21 14:41:46 +01:00
console.c build: prefer WIN32 over __MINGW32__ checks 2010-05-03 16:03:24 -06:00
console.h build: prefer WIN32 over __MINGW32__ checks 2010-05-03 16:03:24 -06:00
libvirt_win_icon_16x16.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_32x32.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_48x48.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_64x64.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
Makefile.am build: fix up some compiler flags 2010-05-17 09:12:42 -06:00
virsh_win_icon.rc Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
virsh.c Make virsh setmaxmem balloon only when successful. 2010-07-20 09:44:14 -04:00
virsh.pod man pages: update authors and copyright notice for libvirtd and virsh 2010-07-17 04:51:01 +10:00
virt-pki-validate.in Fix virt-pki-validate's determination of CN 2010-04-29 20:10:46 -06:00
virt-xml-validate.in build: import latest gnulib 2010-04-02 10:18:55 -06:00