]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Introduce qemuParseCommandLineVnc
authorJohn Ferlan <jferlan@redhat.com>
Tue, 9 Feb 2016 11:36:17 +0000 (06:36 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 10 Feb 2016 19:46:53 +0000 (14:46 -0500)
commit7b3adac4cfb00d95f691aa845a42e4d1e21530b8
treea5b6c7324326bf517994f5fd676f5e081f8e12d4
parent51c70705592c65d6dfdc2194191e5ffe933645d5
qemu: Introduce qemuParseCommandLineVnc

Refactor qemuParseCommandLine to pull out the "-vnc" argument parsing
into its own helper function.  Modify the code to use "cleanup" instead
of "error" and use the standard return processing to indicate success
or failure by using ret

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_command.c