diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-09-10 10:58:49 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-09-11 10:19:49 -0500 |
commit | 6ea314d91439741e95772dfbab98b4135e04bebb (patch) | |
tree | a9988cefcac0b4426ee8be45fa212e7e82e427f2 /qemu-config.c | |
parent | 48b7649691a20063d7a97920628f234f348e4f70 (diff) |
convert vc chardev to QemuOpts.
new cmd line syntax:
-chardev vc,id=name
-chardev vc,id=name,width=pixels,height=pixels
-chardev vc,id=name,cols=chars,rows=chars
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-config.c')
-rw-r--r-- | qemu-config.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qemu-config.c b/qemu-config.c index 3b5083c65..09ef481a4 100644 --- a/qemu-config.c +++ b/qemu-config.c @@ -112,6 +112,18 @@ QemuOptsList qemu_chardev_opts = { },{ .name = "telnet", .type = QEMU_OPT_BOOL, + },{ + .name = "width", + .type = QEMU_OPT_NUMBER, + },{ + .name = "height", + .type = QEMU_OPT_NUMBER, + },{ + .name = "cols", + .type = QEMU_OPT_NUMBER, + },{ + .name = "rows", + .type = QEMU_OPT_NUMBER, }, { /* end if list */ } }, |