]> xenbits.xensource.com Git - libvirt.git/commit
qemu: command: move qemuBuildConsoleCommandLine validation to qemu_domain.c
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 9 Dec 2019 23:15:30 +0000 (20:15 -0300)
committerCole Robinson <crobinso@redhat.com>
Mon, 16 Dec 2019 22:52:07 +0000 (17:52 -0500)
commitf8b8bacd39185eac19f4285c1ab6e41a5bb38212
tree2ab68965aaae2f84a5bd74c7865ef13717af21c5
parentc19bb8c0cf3f02141679ef1a7664d08b28756058
qemu: command: move qemuBuildConsoleCommandLine validation to qemu_domain.c

Console validation is currently being done by qemuBuildConsoleCommandLine().
This patch moves it to a new qemuDomainDefValidateConsole() function. This
new function is then called by qemuDomainDefValidate(), validating the
console in domain define time.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/qemu/qemu_command.c
src/qemu/qemu_domain.c