]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Create a wrapper around qemuMonitorSetCapabilities
authorJiri Denemark <jdenemar@redhat.com>
Mon, 16 Oct 2017 10:52:36 +0000 (12:52 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 20 Oct 2017 07:08:45 +0000 (09:08 +0200)
commit19bade7ad95a877b0df4d5821f17fd69ad6a54dd
treec8e1c2c816c0330d98a00358919e00d5d187460d
parent6094d6ec7fc9ea3e28c18c880b76858f06a8b129
qemu: Create a wrapper around qemuMonitorSetCapabilities

The new function is called qemuProcessInitMonitor and it will enter/exit
the monitor so that the caller doesn't have to deal with this.

The goal of this patch is to simplify the code in qemuConnectMonitor
which would otherwise be a bit hairy after the following patch.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_process.c