Statistics
| Branch: | Revision:

root @ 58c0e732

# Date Author Comment
61073e0f 10/12/2009 05:42 pm Juan Quintela

ide: change cast to DO_UPCAST

Patchworks-ID: 35293
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

e6a7830a 10/12/2009 05:42 pm Juan Quintela

ide: Remove cast in pci_register_bar

We already have a PCIDevice at that point

Patchworks-ID: 35296
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

edcca5a3 10/12/2009 05:42 pm Juan Quintela

ide: Remove duplicated definitions

Patchworks-ID: 35297
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

18c0fb30 10/12/2009 05:42 pm Juan Quintela

ide: remove uselsess casts from void *

Patchworks-ID: 35298
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

65c0f135 10/12/2009 05:42 pm Juan Quintela

ide: create ide/pci.h for common ide pci definitions

Patchworks-ID: 35299
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

3e7e1558 10/12/2009 05:42 pm Juan Quintela

ide: export needed ide-pci functions for split

Patchworks-ID: 35300
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

4c3df0ec 10/12/2009 05:42 pm Juan Quintela

ide: split cmd646 and piix from pci.c

This patch splits cmd646 specific code from pci.c.
This patch splits piix4 specific code from pci.c.
And compile new piix.o and cmd646.o when they are needed.
The only change that is not code movemet is removal of cmd646 specific parts...

58c0e732 10/12/2009 05:42 pm Juan Quintela

ide: PCIIDEState type field is not needed anymore

We have split the functions that needed it for cmd646

Patchworks-ID: 35302
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

f514f41c 10/11/2009 10:31 pm Stefan Weil

Fix bswap in comment

Replace bsawp -> bswap.

Signed-off-by: Stefan Weil <>
Signed-off-by: Aurelien Jarno <>

02d5467e 10/11/2009 04:08 pm malc

Move dependency generation falgs out of configure

Signed-off-by: malc <>

868dc0b4 10/11/2009 06:57 am malc

configure: clean up temporary dependency files

Signed-off-by: malc <>

6165a426 10/11/2009 05:52 am malc

winwave: pause/restore playing upon seeing VOICE_DISABLE/ENABLE

Signed-off-by: malc <>

875ef647 10/11/2009 05:38 am malc

winwave: close event handle and delete wait object after closing HWAVEOUT

To avoid possibly being called back and thus racing.

Signed-off-by: malc <>

f4e8d0b7 10/11/2009 04:39 am malc

winwave: remove wait object when finalizing DAC voice

Signed-off-by: malc <>

218951ef 10/10/2009 06:34 pm Edgar E. Iglesias

CRIS: Segmented addressing only for kernel mode.

Segmented translation through the CRIS MMU is only done for
accesses in kernel mode. In user-mode, all accesses are treated
as paged regardless of the mode config in RW_MM_CFG.

Signed-off-by: Edgar E. Iglesias <>

cef290b8 10/10/2009 06:02 pm malc

Fix Windows host breakage by 45a50b1668822c23afc2a89f724654e176518bc4 (TeLeMan)

Signed-off-by: malc <>

e0bda367 10/10/2009 04:16 pm malc

winwave: poll mode

Signed-off-by: malc <>

d5631638 10/10/2009 12:18 am malc

Windows Waveform Audio driver (no ADC support yet)

Signed-off-by: malc <>

ad323081 10/09/2009 05:17 am Jan Kiszka

pcnet: Restart poll timer on pcnet_start

Just like we call into pcnet_poll_timer on stop, we need to call it on
start to trigger the setup of the poll timer.

Patchworks-ID: 35313
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

efb56cf7 10/09/2009 05:17 am Jan Kiszka

pcnet: Drop unused recv_pos field

This state field was never used, simply remained 0. Drop it from the
PCNetState and update the save/restore code accordingly, keeping
backward compatibility.

Patchworks-ID: 35314
Signed-off-by: Jan Kiszka <>...

b223f35f 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_quit() do QObject

Patchworks-ID: 35345
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

e0c97bde 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_stop() to QObject

Patchworks-ID: 35343
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

c80d259e 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_system_reset() to QObject

Patchworks-ID: 35347
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

43076664 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_system_powerdown() to QObject

Patchworks-ID: 35346
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

a1f896a0 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_cont() to QObject

Appropriate error handling support will be needed to have
encrypted images working under the future machine protocol,
but this initial conversion will work with the current
user protocol.

Patchworks-ID: 35348
Signed-off-by: Luiz Capitulino <>...

83fb1de2 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_balloon() to QObject

It is important to note that it never fails, as big refactoring
of the virtio code would be needed to get the proper error code.

Patchworks-ID: 35349
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

ab2d3187 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_info_version() to QObject

The returned data is always a QString.

Also introduces monitor_print_qobject(), which can be used as
a standard way to print QObjects in the user protocol format.

Patchworks-ID: 35350
Signed-off-by: Luiz Capitulino <>...

cc1d9c70 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_info_balloon() to QObject

On success return a QInt with the balloon's value.

This also introduces monitor_print_balloon() to print the
balloon information in the user protocol.

Please, note that errors are not being converted yet.

Patchworks-ID: 35351...

8f3cec0b 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_info_cpus() to QObject

Each CPU information is stored in a QDict and the returned
QObject is a QList of all CPUs.

The QDict contains the following information:

- "CPU": cpu index
- "current": "yes" or "no"
- "pc": current PC
- "halted": "yes" or "no"...

a6fd08eb 10/09/2009 05:17 am Luiz Capitulino

Introduce QList

QList is a high-level data type that can be used to store QObjects
in a singly-linked list.

The following functions are available:

- qlist_new() Create a new QList
- qlist_append() Append a QObject to the list
- qlist_iter() Iterate over stored QObjects...

3aa3dcff 10/09/2009 05:17 am Luiz Capitulino

Introduce QList unit-tests

This suite contains tests to assure that QList API works as expected.

To execute it you should have check installed and build QEMU with
check support enabled (--enable-check-utests) and then run:

$ ./check-qlist

Patchworks-ID: 35333...

d7f9b689 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert mon_cmd_t initializations to C99 style

Patchworks-ID: 35335
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

910df89d 10/09/2009 05:17 am Luiz Capitulino

monitor: union for info handlers

This commit adds a union to mon_cmd_t for info handlers and
converts do_info() and info_cmds[] array to use it.

This improves type safety.

Next commit will convert command handlers.

Patchworks-ID: 35336
Signed-off-by: Luiz Capitulino <>...

af4ce882 10/09/2009 05:17 am Luiz Capitulino

monitor: union for command handlers

This commits adds a new union member to mon_cmd_t for command
handlers and convert monitor_handle_command() and qemu-monitor.hx
to use it.

This improves type safety.

Patchworks-ID: 35337
Signed-off-by: Luiz Capitulino <>...

a2876f59 10/09/2009 05:17 am Luiz Capitulino

monitor: Add user_print() to mon_cmd_t

This new struct member will store a pointer to a function that
should be used to output data in the user protocol format.

It will also serve as a flag to say if a given handler has already
been converted to the new QObject style....

13917bee 10/09/2009 05:17 am Luiz Capitulino

monitor: Handle new and old style handlers

This commit changes monitor_handle_command() to support old style
and new style handlers.

New style handlers are protocol independent, they return their
data to the Monitor, which in turn decides how to print them...

13c7425e 10/09/2009 05:17 am Luiz Capitulino

monitor: do_info(): handle new and old info handlers

do_info() is special, its job is to call 'info handlers'.
This is similar to what monitor_handle_command() does,
therefore do_info() also has to distinguish among new and
old style info handlers.

This commit converts do_info() to the new QObject style and...

54bcf074 10/09/2009 05:17 am Juan Quintela

Only compile sd0323 when one target uses it

Patchworks-ID: 35217
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

20a4afc4 10/09/2009 05:17 am Juan Quintela

Only compile ads7846 when one target uses it

Patchworks-ID: 35218
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ee99ca01 10/09/2009 05:17 am Juan Quintela

Only compile max111x when one target uses it

Patchworks-ID: 35219
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

93a60400 10/09/2009 05:17 am Juan Quintela

Only compile ssi-sd when one target uses it

Patchworks-ID: 35220
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

c62c4551 10/09/2009 05:17 am Juan Quintela

Only compile ssi when one target uses it

Patchworks-ID: 35221
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

d559ba1a 10/09/2009 05:17 am Luiz Capitulino

QObject: Accept NULL

It is convenient that QDECREF and QINCREF accept the QObject
parameter to be NULL, so that we don't duplicate 'if' tests in
the callers.

Patchworks-ID: 35332
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

d9b44620 10/09/2009 05:17 am Juan Quintela

Only compile tmp105 when one target uses it

Patchworks-ID: 35214
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

4aa5b83f 10/09/2009 05:17 am Juan Quintela

Only compile stellaris_input when one target uses it

Patchworks-ID: 35213
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

6a559be5 10/09/2009 05:17 am Juan Quintela

Only compile sd0303 when one target uses it

Patchworks-ID: 35216
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

92eb6b4e 10/09/2009 05:17 am Juan Quintela

Only compile twl92230 when one target uses it

Patchworks-ID: 35212
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

3c848e2a 10/09/2009 05:17 am Juan Quintela

Only compile tsc2005 when one target uses it

Patchworks-ID: 35215
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

03aba0e3 10/09/2009 05:17 am Juan Quintela

Only compile lm832x when one target uses it

Patchworks-ID: 35211
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

976ca9ab 10/09/2009 05:17 am Juan Quintela

Only compile wm8750 when one target uses it

Patchworks-ID: 35209
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

5f74377c 10/09/2009 05:17 am Juan Quintela

Only compile ptimer when one target uses it

Patchworks-ID: 35207
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

b21fd8e6 10/09/2009 05:17 am Juan Quintela

Only compile sd when one target uses it

Patchworks-ID: 35208
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

ae573db3 10/09/2009 05:17 am Juan Quintela

Only compile max7310 when one target uses it

Patchworks-ID: 35210
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

065c7a36 10/09/2009 05:17 am Juan Quintela

Only compile ecc when one target uses it

Patchworks-ID: 35203
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

9f376df1 10/09/2009 05:17 am Juan Quintela

Only compile esp when one target uses it

Patchworks-ID: 35206
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

2f3c407d 10/09/2009 05:17 am Juan Quintela

Only compile escc when one target uses it

Patchworks-ID: 35205
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

626b2a65 10/09/2009 05:17 am Juan Quintela

Only compile m48t59 when one target uses it

Patchworks-ID: 35204
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

3d0f1517 10/09/2009 05:17 am Juan Quintela

Generate gdbstub-xml.c only when needed

First user of new config-devices.mak

Patchworks-ID: 35198
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

64257584 10/09/2009 05:17 am Juan Quintela

Only compile usb_ohci when one target uses it

Patchworks-ID: 35199
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

185c66c8 10/09/2009 05:17 am Juan Quintela

Only compile isa_mmio when one target uses it

Patchworks-ID: 35200
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

86e1d113 10/09/2009 05:17 am Juan Quintela

Only compile qdev_addr when one target uses it

Patchworks-ID: 35201
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

7807feef 10/09/2009 05:17 am Juan Quintela

Only compile nand when one target uses it

Patchworks-ID: 35202
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

1f3d3c8f 10/09/2009 05:17 am Juan Quintela

Add new config-devices.mak for each target

We generate config-devices.h from there automatically.
We need to do it in main Makefile, because we are going to need a main
Makefile for them.

Patchworks-ID: 35196
Signed-off-by: Juan Quintela <>...

fe0d4d3f 10/09/2009 05:17 am Juan Quintela

Generate config-devices.h

Generate config-devices.h for each target and config-all-devices.h for
common library. We don't want to name both config-devices.h to avoid
path problems

Patchworks-ID: 35195
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

91880d96 10/09/2009 05:17 am Juan Quintela

Move generation of config-target.h to Makefile from configure

Patchworks-ID: 35194
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

1215c6e7 10/09/2009 05:17 am Juan Quintela

Move generation of config-host.h to Makefile from configure

Use timestamp based appreach to avoid not needed recompilation.
Add it to rules.mak

Many thanks to Paolo Bonzini for helpding the design, and the debug.

Patchworks-ID: 35190
Signed-off-by: Juan Quintela <>...

e5efe7f5 10/09/2009 05:17 am Juan Quintela

Remove useless check for config-host.mak

If config-host.mak dont' exist, we have exited in the check at
the beginning of the file.
Once here, move the bits to the else part of the test at the beginning of
the file.

Patchworks-ID: 35191
Signed-off-by: Juan Quintela <>...

25be210f 10/09/2009 05:17 am Juan Quintela

Rename config.{h, mak} config-target.{h, mak}

Add config.h file that includes config-target.h and config-host.h

Patchworks-ID: 35193
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

deed3ccf 10/09/2009 05:17 am Juan Quintela

Don't include config-host.mak from inside config.mak

Include it directly in Makefile.target

Patchworks-ID: 35189
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

be9f2ded 10/08/2009 01:07 pm Edgar E. Iglesias

CRIS: Update PR_EDA on TLB faults.

Signed-off-by: Edgar E. Iglesias <>

dde8bbb4 10/07/2009 04:54 pm Markus Armbruster

Warn if value of qdev_init() isn't checked

After qdev_init() fails, the device is gone. Failure to check runs a
high risk of use-after-free.

Patchworks-ID: 35166
Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

5c17ca25 10/07/2009 04:54 pm Markus Armbruster

Clean up test for qdev_init() failure

Some callers test for != 0, some for < 0. Normalize to < 0.

Patchworks-ID: 35171
Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

33e66b86 10/07/2009 04:54 pm Markus Armbruster

Check return value of qdev_init()

But do so only where it may actually fail. Leave the rest for the
next commit.

Patchworks-ID: 35167
Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

e23a1b33 10/07/2009 04:54 pm Markus Armbruster

New qdev_init_nofail()

Like qdev_init(), but terminate program via hw_error() instead of
returning an error value.

Use it instead of qdev_init() where terminating the program on failure
is okay, either because it's during machine construction, or because...

3f66aa9c 10/07/2009 04:54 pm Markus Armbruster

Make isa_create() terminate program on failure

Callers don't check the return value anyway.

Patchworks-ID: 35172
Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

18cfeb52 10/07/2009 04:54 pm Markus Armbruster

Make qdev_init() destroy the device on failure

Before, every caller had to do this. Only two actually did.

Patchworks-ID: 35170
Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

05a91699 10/07/2009 04:54 pm Markus Armbruster

Unbreak USB autoconnect filters

Commit 22f84e73 added a qdev_init() missing on the path through
usb_host_device_open(), but that broke the path through
usb_host_auto_scan(), which already had one. Remove that one.

Patchworks-ID: 35169
Signed-off-by: Markus Armbruster <>...

6a957025 10/07/2009 08:53 am Aurelien Jarno

tcg: improve output log

Signed-off-by: Aurelien Jarno <>

49d9fdcc 10/06/2009 11:01 pm Laurent Desnogues

target-i386: fix ARPL

The arpl implementation in target-i386/translate.c uses cpu_A0
temporary across a brcond op. This patch fixes that issue.

Signed-off-by: Laurent Desnogues <>
Signed-off-by: Aurelien Jarno <>

d9ace8b3 10/06/2009 10:46 pm Juan Quintela

configure and Makefile are not generated in qemu

Just say it to make

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

cdaed7c7 10/06/2009 10:46 pm Gerd Hoffmann

qdev: move comment

Move comment back next to main_system_bus to avoid confusion.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

ae7489cb 10/06/2009 10:46 pm Juan Quintela

AIOLIBS is not used anywhere

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

3e4e4646 10/06/2009 10:46 pm Juan Quintela

optionrom: remove use of implicit RM variable

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

9c927650 10/06/2009 10:46 pm Juan Quintela

add build-all to .PHONY rules

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

4888ec26 10/06/2009 10:46 pm Juan Quintela

optionrom: create .PHONY variable

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

5ab28867 10/06/2009 10:46 pm Juan Quintela

Don't use implicit rules for Makefile

This remove implicit rules + implicit variables.
Explicit rules like the generation of %.h and %.c from %.hx still works
as expected.

As an added bonus, now the output of make -d is readable.

As another added bonus, time spend on Makefiles is way smaller....

7f1c9d20 10/06/2009 10:36 pm Mark McLoughlin

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....

13cf8f21 10/06/2009 10:36 pm Mark McLoughlin

Port usb net to QemuOpts

We need net_client_init_from_opts() exported for this

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

c59c7ea9 10/06/2009 10:36 pm Mark McLoughlin

Port PCI NIC hotplug to QemuOpts

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

dc1c9fe8 10/06/2009 10:36 pm Mark McLoughlin

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...

05fcfada 10/06/2009 10:36 pm Michael S. Tsirkin

qemu/pci: clarify pci config load routine

PCI load routine has to be called with size equal to 256 (otherwise it
will crash in weird ways). So assert this, making code clearer.
Also avoid dynamically sized array on stack - good for portability.

Signed-off-by: Michael S. Tsirkin <>...

0f457d91 10/06/2009 10:36 pm Michael S. Tsirkin

qemu/pci: make pci not depend on msix

Making pci device cleanup msix automatically makes pci.c depend on
msix.c, which is IMO messy. Since devices do msix_init it's easy and
natural for them to also do msix_uninit.

Signed-off-by: Michael S. Tsirkin <>...

f83c6e10 10/06/2009 10:36 pm Mark McLoughlin

Port -net none and -net nic to QemuOpts

We use a table of network types to look up the initialization function
and parameter descriptions in net_client_init().

For now, we use QemuOpts for the 'none' and 'nic' types. Subsequent
patches port the other types too and the special casing is removed....

ec302ffd 10/06/2009 10:36 pm Mark McLoughlin

Port -net user to QemuOpts

The handling of guestfwd and hostfwd requires the previous changes
to allow multiple values for each parameter. The only way to access
those multiple values is to use qemu_opt_foreach().

Signed-off-by: Mark McLoughlin <>...

8a1c5235 10/06/2009 10:36 pm Mark McLoughlin

Port -net tap to QemuOpts

Some parameters are not valid with fd=. Rather than having a separate
parameter description table for validating fd=, it's easir to just
check for those invalid parameters later.

Note, the need to possible lookup a file descriptor name from the...

88ce16ca 10/06/2009 10:36 pm Mark McLoughlin

Port -net socket to QemuOpts

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

dd51058d 10/06/2009 10:36 pm Mark McLoughlin

Port -net vde to QemuOpts

The net_vde_init() change is needed because we now pass NULL pointers
instead of empty strings for group/sock if they're not set.

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

ed2955c2 10/06/2009 10:36 pm Mark McLoughlin

Port -net dump to QemuOpts

Note, not incrementing nb_host_devs in net_init_dump() is intentional.

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>

7b3fb251 10/06/2009 10:36 pm Mark McLoughlin

Clean up legacy code in net_client_init()

Now that we've ported everything over to QemuOpts, we can kill off
all the cruft in net_client_init().

Note, the 'channel' type requires special handling as it uses a
format that QemuOpts can't parse

Signed-off-by: Mark McLoughlin <>...

8119b33d 10/06/2009 10:36 pm Mark McLoughlin

Add qemu_net_opts

The first step in porting -net to QemuOpts. We do not include parameter
descriptions in the QemuOptsList because we use the first parameter to
choose which descriptions validate against.

Signed-off-by: Mark McLoughlin <>...