Add QMP fsfreeze support
PATCH 1/1 Add QMP fsfreeze support
From: Jes Sorensen <[email protected]>
This patch adds the following QMP commands:
qga-guest-fsfreeze:
- Freezes all local file systems in the guest. Command will return the number of file systems that were frozen.
qga-guest-fsthaw:
- Thaws all local file systems in the guest. Command will return the number of file systems that were thawed.
Signed-off-by Jes Sorensen <[email protected]>
--- qapi-schema.json | 24 ++++++ qga/guest-agent-commands.c | 177 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 201 insertions(+), 0 deletions(-)
qapi-schema.json +24 -0
@@ -1562,6 +1562,30 @@ { 'option': 'blockdev', 'data': 'BlockdevConfig', 'implicit': 'id' } ## +# @guest-fsfreeze: +# +# json gibberish for guest-fsfreeze command +# +# Returns: Number of file systems frozen +# +# Since: 0.15.0 +## +{ 'command': 'guest-fsfreeze', + 'returns': 'int' } + +## +# @guest-fsthaw: +# +# json gibberish for guest-fsthaw command +# +# Returns: Number of file systems thawed +# +# Since: 0.15.0 +## +{ 'command': 'guest-fsthaw', + 'returns': 'int' } + +## # @VncConfig: # # Configuration options for the built-in VNC server.
qga/guest-agent-commands.c +177 -0
189 lines not on this page · raw message
Signature · 1 line
1.7.4.4