On Mon, Apr 04, 2016 at 03:20:32PM +0200, Pavel Hrdina wrote:
Move generation of vnc unix socket to qemuProcessPrepareDomain which
is
the correct place to do those things. Now we can also test it.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/qemu/qemu_command.c | 20 ++++---------
src/qemu/qemu_command.h | 3 +-
src/qemu/qemu_process.c | 20 +++++++++++--
...qemuxml2argv-graphics-vnc-auto-unix-socket.args | 22 ++++++++++++++
.../qemuxml2argv-graphics-vnc-auto-unix-socket.xml | 34 ++++++++++++++++++++++
tests/qemuxml2argvtest.c | 4 +++
6 files changed, 84 insertions(+), 19 deletions(-)
create mode 100644
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-auto-unix-socket.args
create mode 100644
tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-auto-unix-socket.xml
ACK
Jan