projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a4e177
)
Revert "chardev: Get filename for new qapi backend"
author
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 27 May 2013 10:38:58 +0000
(12:38 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 27 May 2013 10:47:17 +0000
(12:47 +0200)
Does not handle chardevs created via chardev-add monitor command.
This reverts commit
2b220025993e76d4116781ca91a4fabc5ad9c722
.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
qemu-char.c
patch
|
blob
|
history
diff --git
a/qemu-char.c
b/qemu-char.c
index 4f8382e540f72b7f28321d33797d6cea506e08fc..f825294a9b2305016fd4e95b1aa210407698ecdc 100644
(file)
--- a/
qemu-char.c
+++ b/
qemu-char.c
@@
-3276,7
+3276,6
@@
CharDriverState *qemu_chr_new_from_opts(QemuOpts *opts,
ChardevReturn *ret = NULL;
const char *id = qemu_opts_id(opts);
const char *bid = NULL;
- char *filename = g_strdup(qemu_opt_get(opts, "backend"));
if (qemu_opt_get_bool(opts, "mux", 0)) {
bid = g_strdup_printf("%s-base", id);
@@
-3309,7
+3308,6
@@
CharDriverState *qemu_chr_new_from_opts(QemuOpts *opts,
}
chr = qemu_chr_find(id);
- chr->filename = filename;
qapi_out:
qapi_free_ChardevBackend(backend);