]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
Final net cleanup after conversion to QemuOpts
authorMark McLoughlin <markmc@redhat.com>
Tue, 6 Oct 2009 11:17:16 +0000 (12:17 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 6 Oct 2009 19:36:13 +0000 (14:36 -0500)
commitdc1c9fe8b759d4e70222d8f94838a6f6ef5c4ef1
tree8fd31fed4bc434f8c726d09512f770f58b7796e7
parentc59c7ea94796a4fce2fe79b8f9aa3628dc2e0b2a
Final net cleanup after conversion to QemuOpts

Now that net_client_init() has no users, kill it off and rename
net_client_init_from_opts().

There is no further need for the old code in net_client_parse() either.
We use qemu_opts_parse() 'firstname' facitity for that. Instead, move
the special handling of the 'vmchannel' type there.

Simplify the vl.c code into merely call net_client_parse() for each
-net command line option and then calling net_init_clients() later
to iterate over the options and create the clients.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci-hotplug.c
net.c
net.h
vl.c