]> xenbits.xensource.com Git - libvirt.git/commit
qemuSnapshotFSFreeze: Don't return -2
authorPeter Krempa <pkrempa@redhat.com>
Mon, 15 Feb 2021 17:12:29 +0000 (18:12 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 16 Feb 2021 11:25:30 +0000 (12:25 +0100)
commitce8670ef4692cb345f93fc009c304d23a27c1699
tree486fae65b5162aa65d8bb8c905735ce679b18969
parentee91c825338db30ba71430b9a49ab159b54d4b07
qemuSnapshotFSFreeze: Don't return -2

The -2 value is misleading because if 'qemuAgentFSFreeze' fails it
doesn't necessarily mean that the command was sent to the agent.

Since callers don't care about the -2 value specifically, remove it.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_snapshot.c