]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
vmmemctl: fix a typo in balloon driver
authorVMware, Inc <>
Mon, 15 Oct 2012 04:55:38 +0000 (21:55 -0700)
committerDmitry Torokhov <dtor@vmware.com>
Fri, 19 Oct 2012 18:32:42 +0000 (11:32 -0700)
On batched unlock, the guest was sending a BATCHED_LOCK to the
monitor instead of the BATCHED_UNLOCK command.

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/modules/shared/vmmemctl/backdoor_balloon.c

index a4176eec30c0450d100f36026b3b318d1a373154..495012847699807e33120912b3d3ce55dd797cda 100644 (file)
@@ -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 */