OSDN Git Service

libqtest: split qtest_spawn_qemu function
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Jan 2023 10:27:14 +0000 (11:27 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 11 Feb 2023 08:19:56 +0000 (09:19 +0100)
commit786c5256d3262518d8805ac2a62eb1c4a3813b80
tree805c77a675f8675c306e74385b3167ed01a2bd20
parent60c7dd22e1383754d5f150bc9f7c2785c662a7b6
libqtest: split qtest_spawn_qemu function

In order to create a function that allows testing of invalid command
lines, extract the parts of qtest_init_without_qmp_handshake that do
not require any successful set up of sockets.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/qtest/libqtest.c