[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 06/13] test-char: destroy chardev-udp after test
From: |
Anton Nefedov |
Subject: |
[Qemu-devel] [PATCH v5 06/13] test-char: destroy chardev-udp after test |
Date: |
Wed, 5 Jul 2017 17:01:57 +0300 |
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 <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
---
tests/test-char.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/test-char.c b/tests/test-char.c
index 527b785..6add1aa 100644
--- a/tests/test-char.c
+++ b/tests/test-char.c
@@ -454,6 +454,7 @@ static void char_udp_test(void)
close(sock);
g_free(tmp);
+ qemu_chr_fe_deinit(&be, true);
}
#ifdef HAVE_CHARDEV_SERIAL
--
2.7.4
- [Qemu-devel] [PATCH v5 03/13] char: chardevice hotswap, (continued)
- [Qemu-devel] [PATCH v5 03/13] char: chardevice hotswap, Anton Nefedov, 2017/07/05
- [Qemu-devel] [PATCH v5 05/13] char: avoid chardevice direct access, Anton Nefedov, 2017/07/05
- [Qemu-devel] [PATCH v5 01/13] char: move QemuOpts->ChardevBackend translation to a separate func, Anton Nefedov, 2017/07/05
- [Qemu-devel] [PATCH v5 04/13] char: forbid direct chardevice access for hotswap devices, Anton Nefedov, 2017/07/05
- [Qemu-devel] [PATCH v5 07/13] test-char: split char_udp_test, Anton Nefedov, 2017/07/05
- [Qemu-devel] [PATCH v5 02/13] char: add backend hotswap handler, Anton Nefedov, 2017/07/05
- [Qemu-devel] [PATCH v5 09/13] test-char: add hotswap test, Anton Nefedov, 2017/07/05
- [Qemu-devel] [PATCH v5 06/13] test-char: destroy chardev-udp after test,
Anton Nefedov <=
- [Qemu-devel] [PATCH v5 08/13] test-char: split char_file_test, Anton Nefedov, 2017/07/05
- [Qemu-devel] [PATCH v5 12/13] serial: move TIOCM update to a separate function, Anton Nefedov, 2017/07/05
- [Qemu-devel] [PATCH v5 13/13] serial: chardev hotswap support, Anton Nefedov, 2017/07/05
- [Qemu-devel] [PATCH v5 10/13] hmp: add hmp analogue for qmp-chardev-change, Anton Nefedov, 2017/07/05
- [Qemu-devel] [PATCH v5 11/13] virtio-console: chardev hotswap support, Anton Nefedov, 2017/07/05
- Re: [Qemu-devel] [PATCH v5 00/13] chardevice hotswap, Paolo Bonzini, 2017/07/05