projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cd3d49
)
Revert "chardev: tcp: postpone TLS work until machine done"
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Fri, 17 Aug 2018 13:52:21 +0000
(15:52 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 2 Oct 2018 17:09:11 +0000
(19:09 +0200)
This reverts commit
99f2f54174a595e3ada6e4332fcd2b37ebb0d55d
.
See next commit reverting
25679e5d58e258e9950685ffbd0cae4cd40d9cc2
as
well for rationale.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <
20180817135224
.22971-2-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
chardev/char-socket.c
patch
|
blob
|
history
diff --git
a/chardev/char-socket.c
b/chardev/char-socket.c
index efbad6ee7cd27b664d31ded6dca2087becb94da1..e28d2cca4c502f83edd2ec3677f00895415eeae7 100644
(file)
--- a/
chardev/char-socket.c
+++ b/
chardev/char-socket.c
@@
-32,7
+32,6
@@
#include "qapi/error.h"
#include "qapi/clone-visitor.h"
#include "qapi/qapi-visit-sockets.h"
-#include "sysemu/sysemu.h"
#include "chardev/char-io.h"
@@
-724,11
+723,6
@@
static void tcp_chr_tls_init(Chardev *chr)
Error *err = NULL;
gchar *name;
- if (!machine_init_done) {
- /* This will be postponed to machine_done notifier */
- return;
- }
-
if (s->is_listen) {
tioc = qio_channel_tls_new_server(
s->ioc, s->tls_creds,
@@
-1169,10
+1163,6
@@
static int tcp_chr_machine_done_hook(Chardev *chr)
tcp_chr_connect_async(chr);
}
- if (s->ioc && s->tls_creds) {
- tcp_chr_tls_init(chr);
- }
-
return 0;
}