]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Move testPrepareHostBackendChardevOne into test utils
authorPeter Krempa <pkrempa@redhat.com>
Wed, 9 Feb 2022 11:30:25 +0000 (12:30 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 14 Feb 2022 12:14:00 +0000 (13:14 +0100)
commit39bf22022158f2c3e685dcf23d6bb463825bff28
tree99ee48ec3fce554af682854dbb056218b192d0ff
parent9eed144c500a6a32dc18550fffe86b42c39ac8c4
tests: Move testPrepareHostBackendChardevOne into test utils

Move the function doing the fake setup of chardev backend for FD passing
into the collection of qemu test helpers so that it can be used in
qemumonitorjsontest.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvtest.c
tests/testutilsqemu.c
tests/testutilsqemu.h