mirror of https://gitee.com/openkylin/qemu.git
test-char: destroy chardev-udp after test
this is only not a problem if the test is last in a suite, otherwise it makes the following main_loop() calls to fail Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <1499342940-56739-7-git-send-email-anton.nefedov@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
3065070153
commit
12f043c240
|
@ -450,6 +450,7 @@ static void char_udp_test(void)
|
|||
|
||||
close(sock);
|
||||
g_free(tmp);
|
||||
qemu_chr_fe_deinit(&be, true);
|
||||
}
|
||||
|
||||
#ifdef HAVE_CHARDEV_SERIAL
|
||||
|
|
Loading…
Reference in New Issue