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>
This commit is contained in:
parent
094c8c2c67
commit
6fd5b66950
|
@ -2883,11 +2883,6 @@ QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename)
|
||||||
qemu_opt_set(opts, "path", filename);
|
qemu_opt_set(opts, "path", filename);
|
||||||
return opts;
|
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)) {
|
if (strstart(filename, "file:", &p)) {
|
||||||
qemu_opt_set(opts, "backend", "file");
|
qemu_opt_set(opts, "backend", "file");
|
||||||
qemu_opt_set(opts, "path", p);
|
qemu_opt_set(opts, "path", p);
|
||||||
|
|
Loading…
Reference in New Issue