From: VMware, Inc <> Date: Mon, 15 Oct 2012 04:55:38 +0000 (-0700) Subject: vmmemctl: fix a typo in balloon driver X-Git-Tag: 2012.10.14-874563~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4062f916dcd6d603cd0f8fbf11abf2ff8f6c587c;p=thirdparty%2Fopen-vm-tools.git vmmemctl: fix a typo in balloon driver On batched unlock, the guest was sending a BATCHED_LOCK to the monitor instead of the BATCHED_UNLOCK command. Signed-off-by: Dmitry Torokhov --- diff --git a/open-vm-tools/modules/shared/vmmemctl/backdoor_balloon.c b/open-vm-tools/modules/shared/vmmemctl/backdoor_balloon.c index a4176eec3..495012847 100644 --- a/open-vm-tools/modules/shared/vmmemctl/backdoor_balloon.c +++ b/open-vm-tools/modules/shared/vmmemctl/backdoor_balloon.c @@ -391,7 +391,7 @@ Backdoor_MonitorUnlockPagesBatched(Balloon *b, // IN PPN64 ppn, // IN uint32 nPages) // IN { - int status = BackdoorCmd(BALLOON_BDOOR_CMD_BATCHED_LOCK, + int status = BackdoorCmd(BALLOON_BDOOR_CMD_BATCHED_UNLOCK, (size_t)ppn, nPages, NULL, &b->resetFlag); /* update stats */