diff options
author | Marc-André Lureau | 2018-02-15 22:25:50 +0100 |
---|---|---|
committer | Paolo Bonzini | 2018-03-26 14:37:13 +0200 |
commit | 642e065a15de6c22d9830372f7ae5164505f21c7 (patch) | |
tree | abbdae599b03b8798eabb18285e083e1c211b6a4 /hw | |
parent | scripts/device-crash-test: Remove fixed isapc-with-iommu entry (diff) | |
download | qemu-642e065a15de6c22d9830372f7ae5164505f21c7.tar.gz qemu-642e065a15de6c22d9830372f7ae5164505f21c7.tar.xz qemu-642e065a15de6c22d9830372f7ae5164505f21c7.zip |
vhost-user-test: do not hang if chardev creation failed
Before the chardev name fix, the following error may happen: "attempt
to add duplicate property 'chr-test' to object (type 'container')",
due to races.
Sadly, error_vprintf() uses g_test_message(), so you have to use
read the cryptic --debug-log to see it. Later, it would make sense to
use g_critical() instead, and catch errors with
g_test_expect_message() (in glib 2.34).
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180215212552.26997-5-marcandre.lureau@redhat.com>
Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions