mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
convert file+pipe chardevs to QemuOpts.
new cmd line syntax: -chardev file,id=name,path=/path/to/file -chardev pipe,id=name,path=/path/to/pipe Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
191bc01bc9
commit
7d31544ff6
2 changed files with 39 additions and 15 deletions
|
@ -79,6 +79,13 @@ QemuOptsList qemu_chardev_opts = {
|
|||
.name = "chardev",
|
||||
.head = TAILQ_HEAD_INITIALIZER(qemu_chardev_opts.head),
|
||||
.desc = {
|
||||
{
|
||||
.name = "backend",
|
||||
.type = QEMU_OPT_STRING,
|
||||
},{
|
||||
.name = "path",
|
||||
.type = QEMU_OPT_STRING,
|
||||
},
|
||||
{ /* end if list */ }
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue