Statistics
| Branch: | Revision:

root / hw @ ba32edab

# Date Author Comment
6d74ca5a 12/12/2009 03:59 pm Michael S. Tsirkin

virtio: verify features on load

migrating between hosts which have different features
might break silently, if the migration destination
does not support some features supported by source.

Prevent this from happening by comparing acked feature
bits with the mask supported by the device....

ba32edab 12/12/2009 03:59 pm Gleb Natapov

fix rtc-td-hack on host without high-res timers

On hosts without high-res timers it is impossible to inject rtc interrupt
faster then 1kHz. Windows sometimes configures RTC to generate 1kHz
interrupts, so we can't inject missed interrupts when running on such...

b3c3f123 12/12/2009 03:59 pm Dave Airlie

vmware_vga: add rom file so that it boots.

This just adds the rom file to the vmware SVGA chipset so it boots.

Signed-off-by: Dave Airlie <>
Signed-off-by: Anthony Liguori <>

7029a83b 12/10/2009 03:46 pm Edgar E. Iglesias

microblaze: Make boot_info static.

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

be5e8349 12/10/2009 03:43 pm Edgar E. Iglesias

microblaze: Add missing cpu_reset.

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

b4d34d5e 12/10/2009 03:40 pm Edgar E. Iglesias

microblaze: Boot and reset fixes.

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

5b5cb086 12/07/2009 09:50 pm Michael S. Tsirkin

msix: function mask support

Function mask is a mandatory feature in MSIX
spec so not implementing it is a spec violation.
Implement.

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

d036bb21 12/07/2009 09:50 pm Michael S. Tsirkin

pci: prepare irq code for interrupt state

This rearranges code in preparation for interrupt state
implementation.
Changes:
- split up bus walk away from interrupt handling
into a subroutine
- change irq_state from an array to bitmask
- verify that irq_state values are 0 or 1 on load...

f9bf77dd 12/07/2009 09:50 pm Michael S. Tsirkin

pci: interrupt status bit implementation

interrupt status is a mandatory feature in PCI spec,
so devices must implement it to be spec compliant.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Isaku Yamahata <>

b6981cb5 12/07/2009 09:50 pm Michael S. Tsirkin

pci: interrupt disable bit support

Interrupt disable bit is mandatory in PCI spec.
Implement it to make devices spec compliant.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Isaku Yamahata <>

2760952b 12/07/2009 09:50 pm Michael S. Tsirkin

msix: macro rename for function mask support

rename ENABLE_OFFSET -> CONTROL_OFFSET, since
same byte includes function mask.
This is in preparation for function mask support.

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

f3304eea 12/05/2009 06:36 pm Alexander Graf

Add S390x virtio machine bus

On S390x we don't want to go through the hassle of emulating real existing
hardware, because we don't need to for running Linux.

So let's instead implement a machine that is 100% based on VirtIO which we
fortunately implement already....

8cb310e1 12/05/2009 06:36 pm Alexander Graf

Add S390x virtio machine description

In order to use the new S390x virtio bus we just introduced, we also
need a machine description that sets up the machine according to our
PV specification.

Let's add that machine description and be happy!

Signed-off-by: Alexander Graf <>...

d05ac8fa 12/04/2009 10:44 pm Blue Swirl

Add "static" to please Sparse

Signed-off-by: Blue Swirl <>

407f879a 12/04/2009 08:08 pm Blue Swirl

scsi: fix incorrect ?: use

Fixes OpenBSD build.

Signed-off-by: Blue Swirl <>

ec169288 12/03/2009 11:26 pm David Benjamin

eepro100: Allocate a larger buffer for regname()

This should avoid truncating the register name when debugging.

Signed-off-by: David Benjamin <>
Signed-off-by: Anthony Liguori <>

b8f6ba0d 12/03/2009 11:26 pm Stefan Weil

eepro100: Improve debug messages

  • buf was too small for longer register names.
  • Use consistent upper case for nouns in register names.
  • Use better name for array with e100 register names.

Signed-off-by: Stefan Weil <>
Signed-off-by: Anthony Liguori <>

a70089ce 12/03/2009 11:26 pm Thadeu Lima de Souza Cascardo

ide: Use some already defined page macros instead of constants

Some PAGE constants were used instead of the macros we already have
defined in internal.h.

Signed-off-by: Thadeu Lima de Souza Cascardo <>
Signed-off-by: Anthony Liguori <>

fe0d6123 12/03/2009 11:26 pm Thadeu Lima de Souza Cascardo

ide: implement stub for audio control/volume read

This implements the audio control or volume read support as needed by
some systems. A Conectiva Parolin system required this to detect an IDE
device as CD-ROM, through the CDVOLREAD ioctl.

Signed-off-by: Thadeu Lima de Souza Cascardo <>...

b4b2f054 12/03/2009 11:26 pm Ryan Harper

Fix compile error when LSI_DEBUG is defined

This patch fixes the follow error when LSI_DEBUG is set.

CC    libhw64/lsi53c895a.o
cc1: warnings being treated as errors
qemu/hw/lsi53c895a.c: In function 'lsi_io_mapfunc':
qemu/hw/lsi53c895a.c:1932: error: format '%08x' expects type 'unsigned int', but argument 2 has type 'pcibus_t'...
5f370b14 12/03/2009 11:26 pm Kevin Wolf

multiboot: Use signed type for negative error numbers

In mb_mod_length a return value is stored that is negative in error case. With
an unsigned type the check goes wrong.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

53ea95de 12/03/2009 11:25 pm Adam Lackorzynski

multiboot: Fix module loading and setting of mmap.

Signed-off-by: Adam Lackorzynski <>
Acked-by: Alexander Graf <>
Signed-off-by: Anthony Liguori <>

b10fec9b 12/03/2009 11:25 pm Stefan Weil

e1000: Fix warning from code review

A code review run by Steve Grubb complained about code in e1000.c:

In hw/e1000.c at line 89, vlan is declared to be 4 bytes.
At line 382 is an attempt to do a memmove over it with a size of 12.

This was fixed by splitting the memmove in two calls and...

550fe6c6 12/03/2009 11:25 pm Laszlo Ast

SCSI: Fix Standard INQUIRY data

Vendor identification, product identification and product revision level
should be padded with spaces without a terminating NULL character, see
SCSI-2 standard, 8.2.5.1 Standard INQUIRY data.

Signed-off-by: Laszlo Ast <>...

dc702288 12/03/2009 09:20 pm Alexander Graf

targe-ppc: Sync CPU state for KVM

Some recent change made PPC guests always start at address 0x0 because env
isn't synced to kvm_state on first bootup.

I'm not sure if this is the correct bugfix, but at least it makes PPC boot
again with KVM enabled.

Signed-off-by: Alexander Graf <>...

f74ab486 12/03/2009 07:45 pm Michael S. Tsirkin

qemu: make cirrus init value pci spec compliant

PCI memory should be disabled at reset, otherwise
we might claim transactions at address 0.
I/O should also be disabled, although for cirrus
it is harmless to enable it as we do not
have I/O bar.

Note: bios fix needed for this patch to work...

feb9e612 12/03/2009 07:45 pm Michael S. Tsirkin

qemu: cleanup unused macros in cirrus

Cirrus vga has a copy of many PCI macros,
and it doesn't even use them. Clean up.
We also don't need to override header type
as it is NORMAL by default.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>...

f7850099 12/03/2009 07:45 pm Kevin Wolf

Rename DriveInfo.onerror to on_write_error

Either rename variables and functions to refer to write errors (which is what
they actually do) or introduce a parameter to distinguish reads and writes.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

ce4b6522 12/03/2009 07:45 pm Kevin Wolf

ide: Implement rerror option

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

f35d68f0 12/03/2009 07:45 pm Kevin Wolf

virtio-blk: Implement rerror option

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

f327aa0c 12/03/2009 06:48 pm Jan Kiszka

live migration: Propagate output monitor to callback handler

In order to allow proper progress reporting to the monitor that
initiated the migration, forward the monitor reference through the
migration layer down to SaveLiveStateHandler.

Signed-off-by: Jan Kiszka <>...

be73cfe2 12/03/2009 06:05 pm Juan Quintela

savevm: Port to qdev.vmsd all devices that have qdev

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

5084bca1 12/03/2009 06:04 pm Juan Quintela

pci: vmstate_register() already assign consecutive numbers starting at 0

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

70cca6d8 12/03/2009 06:04 pm Juan Quintela

qdev: enable vmstate_unregister() support

Now vmstate_unregister have the right type

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

e61a1e0a 12/03/2009 06:04 pm Juan Quintela

vmstate: Add support for VBUFFERS

Support for buffer that are pointed by a pointer (i.e. not embedded)
where the size that we want to use is a field in the state.
We also need a new place to store where to start in the middle of the
buffer, as now it is a pointer, not the offset of the 1st field....

11fe0e6e 12/03/2009 06:04 pm Juan Quintela

vmstate: Introduce VMSTATE_STRUCT_TEST

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

543fc7b2 12/03/2009 06:04 pm Juan Quintela

vmstate: Introduce VMSTATE_STRUCT_POINTER_TEST

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

2fee4078 12/03/2009 06:04 pm Juan Quintela

vmstate: Introduce UINT16_TEST support

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

bfb811ad 12/03/2009 06:04 pm Juan Quintela

vmstate: remove usused VMSTATE_STRUCT_ARRAY_SIZE_UINT8

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

33599e2a 12/03/2009 06:04 pm Juan Quintela

vmstate: Add support for multiplying size for a constant

When the size that we want to transmit is in another field, but in an
unit different that bytes

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

d9494b19 12/03/2009 06:04 pm Jan Kiszka

vmstate: Fix info field of VMSTATE_MACADDR

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

38f5b2b8 12/03/2009 05:41 pm Laszlo Ast

lsi53c895a: Use alternative address when already reselected

See SCRIPTS, 3.2.17 SELECT.

Signed-off-by: Laszlo Ast <>
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

e560125e 12/03/2009 05:41 pm Laszlo Ast

lsi53c895a: Implement IRQ on reselection

The critical part of this change is how to deal with simultaneaous
generation of interrupts. The only (normal) case when this happens in
the emulation is near simultaneous reselection + selection. If selection
comes first, there is no problem, since the target attempting...

38215553 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: GET_CONFIGURATION

Move GET_CONFIGURATION emulation from scsi_send_command() to
scsi_disk_emulate_command().

Also add GET_CONFIGURATION to scsi-defs.h and scsi_command_name().

Signed-off-by: Gerd Hoffmann <>...

5dd90e2a 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: SERVICE_ACTION_IN

Move SERVICE_ACTION_IN emulation from scsi_send_command() to
scsi_disk_emulate_command().

Also add SERVICE_ACTION_IN to scsi-defs.h and scsi_command_name().

Signed-off-by: Gerd Hoffmann <>...

39ec9a50 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: REPORT_LUNS

Move REPORT_LUNS emulation from scsi_send_command() to
scsi_disk_emulate_command().

Also add REPORT_LUNS to scsi-defs.h and scsi_command_name().

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

88f8a5ed 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: VERIFY

Move VERIFY emulation from scsi_send_command() to
scsi_disk_emulate_command().

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

bd536cf3 12/03/2009 05:41 pm Gerd Hoffmann

scsi: add read/write 16 commands.

Add READ_16 + friends to scsi-defs.h, scsi_command_name() and the
request parsing helper functions.

Use them in scsi-disk.c too.

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

a15fdf86 12/03/2009 05:41 pm Laszlo Ast

lsi53c895a: Whitespace and typo fixes

Signed-off-by: Laszlo Ast <>
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

cc9f28bc 12/03/2009 05:41 pm Laszlo Ast

lsi53c895a: Add support for LSI53C700 Family Compatibility bit

Signed-off-by: Laszlo Ast <>
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

77203ea0 12/03/2009 05:41 pm Laszlo Ast

lsi53c895a: Fix message code of DISCONNECT

See SCSI-2, 6.5 Message system description/message codes.

Signed-off-by: Laszlo Ast <>
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

07a1bea8 12/03/2009 05:41 pm Laszlo Ast

lsi53c895a: Fix SDID in SELECT ID command

See SCRIPTS Programming Guide, 3.2.17 SELECT.

Signed-off-by: Laszlo Ast <>
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

0b06c059 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: INQUIRY

Move INQUIRY emulation from scsi_send_command() to
scsi_disk_emulate_command(). Also split the longish INQUITY emulation
code into the new scsi_disk_emulate_inquiry() function. Serial number
handling is slightly changed, we don't copy it any more but look it up...

3d53ba18 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: RESERVE+RELEASE

Move RESERVE+RELEASE emulation from scsi_send_command() to
scsi_disk_emulate_command().

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

ebddfcbe 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: MODE_SENSE

Move MODE_SENSE emulation from scsi_send_command() to
scsi_disk_emulate_command(). Create two helper functions:
mode_sense_page() which writes the actual mode pages and
scsi_disk_emulate_mode_sense() which holds the longish MODE_SENSE...

8d3628ff 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: START_STOP

Move START_STOP emulation from scsi_send_command() to
scsi_disk_emulate_command().

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

c68b9f34 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: ALLOW_MEDIUM_REMOVAL

Move ALLOW_MEDIUM_REMOVAL emulation from scsi_send_command() to
scsi_disk_emulate_command().

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

e7e25e32 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: READ_CAPACITY

Move READ_CAPACITY emulation from scsi_send_command() to
scsi_disk_emulate_command().

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

fc903943 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: SYNCHRONIZE_CACHE

Move SYNCHRONIZE_CACHE emulation from scsi_send_command() to
scsi_disk_emulate_command().

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

02880f43 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: READ_TOC

Move READ_TOC emulation from scsi_send_command() to
scsi_disk_emulate_command(). Add scsi_disk_emulate_read_toc() function
which holds the longisch READ_TOC emulation code.

Signed-off-by: Gerd Hoffmann <>...

ec766865 12/03/2009 05:41 pm Gerd Hoffmann

scsi: add scsi_req_print()

Handy for debugging.

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

aa5dbdc1 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: core + TEST_UNIT_READY.

Add new scsi_disk_emulate_command() function, which will -- when
finished -- handle all scsi disk command emulation except actual I/O
(READ+WRITE commands) which goes to the block layer. The function...

51ad87c9 12/03/2009 05:41 pm Gerd Hoffmann

scsi-disk: restruct emulation: REQUEST_SENSE

Move REQUEST_SENSE emulation from scsi_send_command() to
scsi_disk_emulate_command().

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

97a06435 12/03/2009 05:41 pm Gerd Hoffmann

scsi: add xfer mode

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

37659e51 12/03/2009 05:41 pm Gerd Hoffmann

scsi: move sense to SCSIDevice, create SCSISense struct.

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

251882b7 12/03/2009 05:41 pm Gerd Hoffmann

scsi: move dinfo to SCSIDevice

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

ed3a34a3 12/03/2009 05:41 pm Gerd Hoffmann

scsi: move status to SCSIRequest.

Also add and use the scsi_req_complete() helper function for calling the
completion callback.

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

1e37607b 12/03/2009 05:41 pm Gerd Hoffmann

scsi: add/fix header protection.

Also delete the leftover and unused scsi-disk.h file.

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

4c41d2ef 12/03/2009 05:41 pm Gerd Hoffmann

scsi: create common SCSIRequest structure.

Rename the SCSIRequest structs in scsi-disk.c and scsi-generic.c to
SCSIDiskReq and SCSIGenericReq. Create a SCSIRequest struct and move
the common elements over.

Signed-off-by: Gerd Hoffmann <>...

9af99d98 12/03/2009 05:41 pm Gerd Hoffmann

scsi: move request lists to QTAILQ.

Changes: * Move from open-coded lists to QTAILQ macros. * Move the struct elements to the common data structures
(SCSIDevice + SCSIRequest). * Drop free request pools. * Fix request cleanup in the destroy callback....

89b08ae1 12/03/2009 05:41 pm Gerd Hoffmann

scsi: move SCSIRequest management to common code.

Create generic functions to allocate, find and release SCSIRequest
structs. Make scsi-disk and scsi-generic use them.

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

29362ebe 12/03/2009 05:41 pm Gerd Hoffmann

scsi: move scsi command buffer from SCSIGenericReq to SCSIRequest.

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

b07995e3 12/03/2009 05:41 pm Gerd Hoffmann

scsi: move blocksize from SCSIGenericState to SCSIDevice

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

0d65e1f8 12/03/2009 05:41 pm Gerd Hoffmann

scsi: add scsi-defs.h

Largely based on <scsi/scsi.h> from linux. Added into the tree so we
can use the defines everywhere, not just in scsi-generic.c (which is
linux-specific).

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

91376656 12/03/2009 05:41 pm Gerd Hoffmann

scsi: move type from SCSIGenericState to SCSIDevice

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

2ec749cb 12/03/2009 05:41 pm Gerd Hoffmann

scsi: add request parsing helpers to common code.

Add helper functions for scsi request parsing to common code. Getting
command length, transfer size, and linear block address is handled.

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

ebf46023 12/03/2009 05:41 pm Gerd Hoffmann

scsi: use command defines in scsi-disk.c

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

e0394b8b 12/03/2009 05:41 pm Mark McLoughlin

net: convert usb-net to NICState

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

d7539ab4 12/03/2009 05:41 pm Mark McLoughlin

net: convert xilinx_ethlite to NICState

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

658788c5 12/03/2009 05:41 pm Mark McLoughlin

net: convert xen to NICState

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

665a3b07 12/03/2009 05:41 pm Mark McLoughlin

net: remove VLANClientState members now in NetClientInfo

Add a NetClientInfo pointer to VLANClientState and use that
for the typecode and function pointers.

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

1f30d10a 12/03/2009 05:41 pm Mark McLoughlin

net: convert mipsnet to NICState

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

3a94dd18 12/03/2009 05:41 pm Mark McLoughlin

net: convert musicpal to NICState

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

42a4260f 12/03/2009 05:41 pm Mark McLoughlin

net: convert smc91c111 to NICState

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

8c9b63b9 12/03/2009 05:41 pm Mark McLoughlin

net: convert stellaris to NICState

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

e00e365e 12/03/2009 05:41 pm Mark McLoughlin

net: convert eepro100 to NICState

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

05f41fe3 12/03/2009 05:41 pm Mark McLoughlin

net: convert dp8393x to NICState

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

163bf3a5 12/03/2009 05:41 pm Mark McLoughlin

net: convert etrax to NICState

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

83b9f88c 12/03/2009 05:41 pm Mark McLoughlin

net: convert LAN9118 to NICState

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

1cc49d95 12/03/2009 05:41 pm Mark McLoughlin

net: convert mcf_fec to NICState

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

a03e2aec 12/03/2009 05:41 pm Mark McLoughlin

net: convert e1000 to NICState

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

1673ad51 12/03/2009 05:41 pm Mark McLoughlin

net: convert rtl8139 to NICState

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

1c2045b5 12/03/2009 05:41 pm Mark McLoughlin

net: convert ne2000 to NICState

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

1fa51482 12/03/2009 05:41 pm Mark McLoughlin

net: convert pcnet to NICState

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

eb6b6c12 12/03/2009 05:41 pm Mark McLoughlin

net: convert virtio to NICState

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

5096fae3 12/03/2009 05:41 pm Mark McLoughlin

qdev: move DO_UPCAST() into osdep.h

Nothing qdev specific about this, make it available throughtout.

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

e13b10be 12/03/2009 05:41 pm Mark McLoughlin

net: remove NICInfo::vc

Since 1cc33683, this field is not set for most devices, so just
remove it and its remaining few uses.

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

a90ffa49 12/03/2009 05:41 pm Juan Quintela

ac97: port to vmstate

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

7626f39f 12/03/2009 05:41 pm Juan Quintela

ac97: recalculate active after loadvm

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

3b6b2126 12/03/2009 05:41 pm Juan Quintela

ac97: up savevm version and remove active from state

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