[pve-devel] [PATCH 06/14] convert balloon monitor command to qmp
Alexandre Derumier
aderumier at odiso.com
Mon Jun 25 10:02:50 CEST 2012
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
PVE/QemuServer.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index f039937..316416b 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -3238,7 +3238,7 @@ sub print_pci_addr {
sub vm_balloonset {
my ($vmid, $value) = @_;
- vm_monitor_command($vmid, "balloon $value");
+ vm_mon_cmd($vmid, "balloon", value => $value);
}
# vzdump restore implementaion
--
1.7.2.5
More information about the pve-devel
mailing list