]> git.proxmox.com Git - mirror_qemu.git/commit - net/net.c
Port host_net_add monitor command to QemuOpts
authorMark McLoughlin <markmc@redhat.com>
Tue, 6 Oct 2009 11:17:13 +0000 (12:17 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 6 Oct 2009 19:36:13 +0000 (14:36 -0500)
commit7f1c9d20eab92090650f0356d45fcdf5c190a22a
treeb2f7c339bfdd4d6156d1c2944faf6e7cfdebe83b
parent7b3fb251102b5529fa0efff6d5e06bc6ed2715f0
Port host_net_add monitor command to QemuOpts

Here is where we rely on qemu_opts_parse() to handle an empty string.
We could alternatively explicitly handle this here by using
qemu_opts_create() when we're not supplied any parameters, but its
cleaner this way.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c