diff options
author | Chen Hanxiao <chenhanxiao@gmail.com> | 2018-06-14 16:10:13 +0800 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2018-07-03 10:55:18 -0500 |
commit | 65650f0182c11a000d488a3b8e8e6ad071853f31 (patch) | |
tree | 45ba32ba8d38794215a866619a9cf99c57bb8a4e /qga/qapi-schema.json | |
parent | b07cd3e748b3f27a17c27afeee578dc4eedb8dd5 (diff) | |
download | qemu-65650f0182c11a000d488a3b8e8e6ad071853f31.zip qemu-65650f0182c11a000d488a3b8e8e6ad071853f31.tar.gz qemu-65650f0182c11a000d488a3b8e8e6ad071853f31.tar.bz2 |
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 <mdroth@linux.vnet.ibm.com>
Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'qga/qapi-schema.json')
-rw-r--r-- | qga/qapi-schema.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json index 17884c7..1045cef 100644 --- a/qga/qapi-schema.json +++ b/qga/qapi-schema.json @@ -435,7 +435,9 @@ # for up to 10 seconds by VSS. # # Returns: Number of file systems currently frozen. On error, all filesystems -# will be thawed. +# will be thawed. If no filesystems are frozen as a result of this call, +# then @guest-fsfreeze-status will remain "thawed" and calling +# @guest-fsfreeze-thaw is not necessary. # # Since: 0.15.0 ## |