From 6ea314d91439741e95772dfbab98b4135e04bebb Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 10 Sep 2009 10:58:49 +0200 Subject: 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 Signed-off-by: Anthony Liguori --- qemu-config.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'qemu-config.c') diff --git a/qemu-config.c b/qemu-config.c index 3b5083c65c..09ef481a44 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 */ } }, -- cgit v1.2.3