]> Git Repo - qemu.git/commit - qga/commands-posix.c
qga: unset frozen state if no mount points are frozen
authorChen Hanxiao <[email protected]>
Thu, 14 Jun 2018 08:10:13 +0000 (16:10 +0800)
committerMichael Roth <[email protected]>
Tue, 3 Jul 2018 15:55:18 +0000 (10:55 -0500)
commit65650f0182c11a000d488a3b8e8e6ad071853f31
tree45ba32ba8d38794215a866619a9cf99c57bb8a4e
parentb07cd3e748b3f27a17c27afeee578dc4eedb8dd5
qga: unset frozen state if no mount points are frozen

If we set mountpoints to qmp_guest_fsfreeze_freeze_list,
we may got nothing to freeze as all mountpoints are
not valid.
So call ga_unset_frozen in this senario.

Also, if we return 0 frozen fs, there is no need to call
guest-fsfreeze-thaw.

Cc: Michael Roth <[email protected]>
Signed-off-by: Chen Hanxiao <[email protected]>
Signed-off-by: Michael Roth <[email protected]>
qga/commands-posix.c
qga/qapi-schema.json
This page took 0.026483 seconds and 4 git commands to generate.