diff options
author | Markus Armbruster <armbru@redhat.com> | 2013-02-06 21:27:22 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-06 16:35:19 -0600 |
commit | 6fd5b66950fc5551d371ba5017d0e0858b7c800b (patch) | |
tree | 58d12c8dcfd5342d0b35e4e863d54b207e16a598 | |
parent | 094c8c2c67c486bcbc03c5e6327edc6ad3e5e29a (diff) |
qemu-char: Drop undocumented chardev "memory" compatibility syntax
This is a new device, so there's no compatibility to maintain, and its
use case isn't common enough to justify shorthand syntax.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | qemu-char.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/qemu-char.c b/qemu-char.c index 2f59a61429..cdbbafe4f1 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -2883,11 +2883,6 @@ QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename) qemu_opt_set(opts, "path", filename); return opts; } - if (strstart(filename, "memory", &p)) { - qemu_opt_set(opts, "backend", "memory"); - qemu_opt_set(opts, "maxcapacity", p); - return opts; - } if (strstart(filename, "file:", &p)) { qemu_opt_set(opts, "backend", "file"); qemu_opt_set(opts, "path", p); |