rework -monitor handling, switch to QemuOpts
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 8 Dec 2009 12:11:50 +0000 (13:11 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 12 Dec 2009 13:59:43 +0000 (07:59 -0600)
commitcf92aea2e2becc7dfaf14bd8316e99397dcf9b12
tree7c830f768470db45d297b313d50cbdf8dd0a6677
parent64dc34353c4e87aa6fc0474735056621106e9f1a
rework -monitor handling, switch to QemuOpts

This patch reworks the -monitor handling:

 - It adds a new "mon" QemuOpts list for the monitor(s).
 - It adds a monitor_parse() function to parse the -monitor switch.
 - It adds a mon_init function to initialize the monitor(s) from the
   "mon" QemuOpts list.
 - It winds up everything and removes the old bits.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-config.c
qemu-config.h
vl.c