]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Bail out of vmtoolsd early when there are RPC errors.
authorOliver Kurth <okurth@vmware.com>
Wed, 16 Jan 2019 22:53:05 +0000 (14:53 -0800)
committerOliver Kurth <okurth@vmware.com>
Wed, 16 Jan 2019 22:53:05 +0000 (14:53 -0800)
commit3f5711d996598a625252cdcc77404fbb09cbb3d0
treef896006e6e39e84213f747a89072d9f87c2b6d26
parentf2d053bb4b7fca870ed3e4aacc26fdd92907d008
Bail out of vmtoolsd early when there are RPC errors.

VMX state machine could give up quiescing operation for various
reasons when vmtoolsd is busy performing necessary state transitions.
Once VMX gives up quiescing operation, there is no point in
vmtoolsd continuing with it. vmtoolsd should also give up the
operation asap. The vmtoolsd process can detect VMX state machine
change when it gets errors sending VMBACKUP_PROTOCOL_EVENT_SET RPC.

RPC errors are only used as a trigger to abort the operation.
We ignore the RPC errors that might occur after aborting the
operation.
open-vm-tools/services/plugins/vmbackup/stateMachine.c
open-vm-tools/services/plugins/vmbackup/vmBackupInt.h