Statistics
| Branch: | Revision:

root / hw @ a9f49946

# Date Author Comment
14421258 11/09/2009 04:43 pm Isaku Yamahata

pci: 64bit bar support.

implemented pci 64bit bar support.
The tricky bit is pci_update_mapping().
An OS is allowed to set the BAR such that OS can't address the area
pointed by BAR. It doesn't make sense, though.
In that case, don't map the BAR.

Signed-off-by: Isaku Yamahata <>...

e94ff650 11/09/2009 04:43 pm Isaku Yamahata

pci: remove bus_num member from struct PCIBus.

Since It can be retrieved from pci configuration space,
the member is unnecessary.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

e822a52a 11/09/2009 04:43 pm Isaku Yamahata

pci: make pci configuration transaction more accurate.

This patch sorts out/enhances pci code to track pci bus topology
more accurately.
- Track host bus bridge with pci domain number. Although the
current qemu implementation supports only pci domian 0 yet....

74e32ac1 11/09/2009 04:43 pm Isaku Yamahata

pci: factor out the conversion logic from io port address into pci device.

factor out the logic which converts io port address into pci device
and offset in PCI configuration space.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

766347cc 11/09/2009 04:43 pm Isaku Yamahata

pci: move pci host stuff from pci.c to pci_host.c

Move pci host stuff from pci.c to pci_host.c.
And add some comments.
Later pcie host bridge functions will be defined in pcie_host.c
not to bloat pci.c.

Signed-off-by: Isaku Yamahata <>...

ce195fb5 11/09/2009 04:43 pm Isaku Yamahata

pci_host: change the signature of pci_data_{read, write}.

change the first argument, void opaque to PCIBus *s
of the pci_data_{read, write}.
They aren't used as direct callback so the argument type
don't have to be void
. So change it to the right type....

9cae69bd 11/09/2009 04:43 pm Isaku Yamahata

vmstate: introduce VMSTATE_BUFFER_UNSAFE_INFO.

VMSTATE_BUFFER_UNSAFE_INFO for as a buffer with specified VMStateInfo.
It will be used later.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

a9f49946 11/09/2009 04:43 pm Isaku Yamahata

pci: pcie host and mmcfg support.

This patch adds common routines for pcie host bridge and pcie mmcfg.
This will be used by q35 based chipset emulation.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

a455783b 11/09/2009 04:43 pm Isaku Yamahata

pci_host: consolidate pci config address access.

consolidate pci_config address access into pci_host.c

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

6e355d90 11/09/2009 04:43 pm Isaku Yamahata

pci: introduce pcibus_t to represent pci bus address/size instead of uint32_t

This patch is preliminary for 64 bit BAR support.
Introduce dedicated type, pcibus_t, to represent pci bus address/size
instead of uint32_t.
Later this type will be changed to uint64_t....

89e8b13c 11/09/2009 04:43 pm Isaku Yamahata

pci: introduce FMT_PCIBUS for printf format for pcibus_t.

This patch is preliminary for 64bit BAR.
Later pcibus_t will be changed from uint32_t to uint64_t.
Introduce FMT_PCIBUS for printf format for pcibus_t.

Signed-off-by: Isaku Yamahata <>...

4f8589e1 11/09/2009 04:43 pm Isaku Yamahata

pci: typedef pcibus_t as uint64_t instead of uint32_t.

This patch is preliminary for 64bit bar.
For 64bit bar support, change pcibus_t which represents
pci bus addr/size from uint32_t to uint64_t.
And also change FMT_pcibus for printf.

In pci_update_mapping() checks 32bit overflow....

0392a017 11/09/2009 04:43 pm Isaku Yamahata

pci: s/PCI_ADDRESS_SPACE_/PCI_BASE_ADDRESS_SPACE_/ to match pci_regs.h

make constants for pci base address match pci_regs.h by
renaming PCI_ADDRESS_SPACE_xxx to PCI_BASE_ADDRESS_SPACE_xxx.

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

5029fe12 11/09/2009 04:43 pm Isaku Yamahata

pci: clean up of pci_default_read_config.

This patch cleans up pci_default_read_config() removing
ugly length and range check.

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

b3b11697 11/09/2009 04:43 pm Isaku Yamahata

pci: make pci_bar() aware of header type 1.

make pci_bar() aware of header type 1. When PCI_ROM_SLOT
it should return PCI_ROM_ADDRESS1 (!= PCI_ROM_ADDRESS)

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

4f5e19e6 11/09/2009 04:43 pm Isaku Yamahata

pci_host.h: move functions in pci_host.h into .c file.

split static functions in pci_host.h into pci_host.c and
pci_host_template.h.
Later a structures declared in pci_host.h, PCIHostState, will be used.
However pci_host.h doesn't allow to include itself easily. This patches...

b0ff8eb2 11/09/2009 04:43 pm Isaku Yamahata

pci: use helper functions to access pci config space.

use pci_[gs]et_{byte, word, long}() to access pci configuration
space.

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

74c01823 11/09/2009 04:43 pm Isaku Yamahata

pci/bridge: clean up of pci_bridge_initfn()

- use symbolic constant
- use helper function pci_set_xxx()
- removed lines which initializes to 0.
It is unnecessary because it is already zeroed.
- add some comments on command registers.

Some initial values are suspicious because they seems to...

67a51b48 11/09/2009 04:43 pm Isaku Yamahata

pci: clean up pci_init_wmask()

use pci_set_word() for pci command register.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

2e49d64a 11/09/2009 04:43 pm Isaku Yamahata

pci: fix PCI_DPRINTF() wrt variadic macro.

add missing ## in PCI_DPRINTF() to compile.

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

e369cad7 11/09/2009 04:43 pm Isaku Yamahata

pci: introduce constant PCI_NUM_PINS for the number of interrupt pins, 4.

introduce constant PCI_NUM_PINS for the number of interrupt pins, 4.
and use it.

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

2217dcff 11/09/2009 04:43 pm Isaku Yamahata

pci: use PCI_SLOT() and PCI_FUNC().

use PCI_SLOT() and PCI_FUNC() where appropriate instead of
direct use of bit operation.

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

182f9c8a 11/09/2009 04:43 pm Isaku Yamahata

pci: define a constant to represent a unmapped bar and use it.

define a constant to represent a unmapped bar instead of -1 and use it.

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

fb5ce7d2 11/09/2009 04:43 pm Isaku Yamahata

pci: helper functions to access PCIDevice::config

add helper functions to get/set PCIDevice::config
Those will be used later.

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

184bd048 11/09/2009 04:43 pm Dustin Kirkland

whitelist host virtio networking features

This patch is a followup to 8eca6b1bc770982595db2f7207c65051572436cb,
fixing crashes when guests with 2.6.25 virtio drivers have saturated
virtio network connections.

https://bugs.edge.launchpad.net/ubuntu/+source/qemu-kvm/+bug/458521...

1cd3af54 11/09/2009 04:43 pm Gerd Hoffmann

scsi: move scsi.h -> esp.h

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

43b443b6 11/09/2009 04:43 pm Gerd Hoffmann

scsi: move scsi-disk.h -> scsi.h

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

39a51dfd 11/09/2009 04:43 pm Markus Armbruster

qdev: Tag isa-fdc, PIIX3 IDE and PIIX4 IDE as no-user

These devices are created automatically, and attempting to create
another one with -device fails with "qemu: hardware error:
register_ioport_write: invalid opaque".

Signed-off-by: Markus Armbruster <>...

eb852011 11/09/2009 04:43 pm Markus Armbruster

Configurable block format whitelist

We have code for a quite a few block formats. While I trust that all
of these formats are useful at least for some people in some
circumstances, some of them are of a kind that friends don't let
friends use in production....

cdd5cc12 11/09/2009 04:43 pm Mark McLoughlin

virtio-net: split the has_buffers() logic from can_receive()

We should only return zero from receive() for a condition which we'll
get notification of when it changes. Currently, we're returning zero
if the guest driver is not ready, but we won't ever flush our queue...

c79662f7 11/09/2009 04:43 pm Naphtali Sprei

Pass the drive's readonly attribute to the guest OS

Implemented for virtio-blk and for scsi

Signed-off-by: Naphtali Sprei <>
Signed-off-by: Anthony Liguori <>

4a643563 11/07/2009 04:13 pm Blue Swirl

IDE: Fix reset handling

Problem: x86 systems could not survive a few system_resets.

Clear most of IDE state when reset. Implement the missing reset handlers.

Signed-off-by: Blue Swirl <>

d84bda46 11/07/2009 12:36 pm Blue Swirl

PPC: rename cpu_ppc_reset to cpu_reset for consistency

Signed-off-by: Blue Swirl <>

44a99354 11/07/2009 12:05 pm Blue Swirl

Sparc64/x86: remove unneeded calls to device reset

Signed-off-by: Blue Swirl <>

e4394131 11/07/2009 11:32 am Blue Swirl

PPC: remove unneeded calls to device reset

Signed-off-by: Blue Swirl <>

a01d6ef4 11/07/2009 10:55 am Blue Swirl

sparc32 (mostly): remove unneeded calls to device reset

Signed-off-by: Blue Swirl <>

c1699988 11/07/2009 10:06 am Glauber Costa

v3: don't call reset functions on cpu initialization

There is absolutely no need to call reset functions when initializing
devices. Since we are already registering them, calling qemu_system_reset()
should suffice. Actually, it is what happens when we reboot the machine,...

cae334cd 11/06/2009 03:08 pm malc

vga: fix line comparison

Line counter doesn't wrap.

Signed-off-by: malc <>

d1984194 11/06/2009 02:46 am malc

vga: Respect Line Compare Register in text modes

Unbreaks setup screen of Act1/PL

Signed-off-by: malc <>

2d7adea4 11/03/2009 04:28 pm Andrzej Zaborowski

hw/sd: Support SDHC size cards

This patch adds SHDC support (-sd sd.img, where sd.img is
larger than 1GB) to qemu.

Signed-off-by: Jason S. McMullan <>
Signed-off-by: Andrzej Zaborowski <>

04095e5f 10/30/2009 04:42 pm Anthony Liguori

Remove e1000 rom loading hack

The gPXE rom supports BEV properly.

Signed-off-by: Anthony Liguori <>

3cbe04c4 10/30/2009 04:42 pm Mark McLoughlin

virtio-net: fix macaddr config regression

This commit:

commit 97b15621
virtio: use qdev properties for configuration.
Signed-off-by: Gerd Hoffmann &lt;&gt;
Signed-off-by: Anthony Liguori &lt;&gt;

makes a guest using virtio-net see an empty macaddr because we never...

79758e95 10/30/2009 03:39 pm Michael S. Tsirkin

qemu/virtio: make wmb compiler barrier + comments

wmb must be at least a compiler barrier, even without SMP.
Further, we likely need some rmb()/mb() as well:
I have not audited the code but lguest has mb(),
add a comment for now.

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

76f5159d 10/30/2009 03:39 pm Michael S. Tsirkin

qemu/msix: fix table access issues

Fixes a couple of issues with msix table access:
- With misbehaving guests, misaligned 4 byte access could overflow
msix table and cause qemu to segfault. Since PCI spec requires
host to only issue dword-aligned accesses, as a fix,...

66a6593a 10/30/2009 03:39 pm Gerd Hoffmann

usb: print attached status in info qtree

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

718b8aec 10/30/2009 03:39 pm Stefan Weil

serial: Add missing bit

Serial frames always start with a start bit.
This bit was missing in frame size calculation.

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

2b0efdc3 10/30/2009 03:39 pm Gerd Hoffmann

usb-serial and braille: use qdev for -usbdevice

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

61e094c0 10/30/2009 03:39 pm Gerd Hoffmann

usb: make attach optional.

Add a auto_attach field to USBDevice, which is enabled by default.
USB drivers can clear this field in case they do not want the device
being attached (i.e. plugged into a usb port) automatically after
successfull init().

Use cases (see next patches):...

b3e461d3 10/30/2009 03:39 pm Gerd Hoffmann

usb-storage: use qdev for -usbdevice

Hook up usb_msd_init.

Also rework handling of encrypted block devices,
move the code out vl.c.

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

0958b4cc 10/30/2009 03:39 pm Gerd Hoffmann

usb core: use qdev for -usbdevice

This patchs adds infrastructure to handle -usbdevice via qdev callbacks.
USBDeviceInfo gets a name field (for the -usbdevice driver name) and a
callback for -usbdevice parameter parsing.

The new usbdevice_create() function walks the qdev driver list and looks...

fa7c70c3 10/30/2009 03:39 pm Gerd Hoffmann

usb-hid: use qdev for -usbdevice

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

14a3f32d 10/30/2009 03:39 pm Gerd Hoffmann

rom loader: use qemu_strdup.

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

de2aff17 10/30/2009 03:39 pm Gerd Hoffmann

rom loader: make vga+rom loading configurable.

The rom_add_vga() and rom_add_option() macros are transformed into
functions. They look at the new rom_enable_driver_roms variable
and only do something if it is set to non-zero, making vga+option rom
loading runtime option. pc_init() sets rom_enable_driver_roms to 1....

5245d57a 10/30/2009 03:39 pm Gerd Hoffmann

vga roms: move loading from pc.c to vga drivers.

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

51edd4e6 10/30/2009 03:39 pm Gerd Hoffmann

use rom loader for pc bios.

The pc bios shows up in 'info roms' now.

Note that the BIOS is mapped to two places: The complete rom at the top
of the memory, and the first 128k at 0xe0000. Only the first place is
listed in 'info roms'.

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

a8ed73f7 10/30/2009 03:39 pm Mark McLoughlin

net: move more stuff into net/tap-win32.c, add net/tap.h

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

7200ac3c 10/30/2009 03:39 pm Mark McLoughlin

net: move net-checksum.c under net/

Also add a new net/checksum.h header

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

0ce0e8f4 10/27/2009 07:29 pm Mark McLoughlin

virtio-net: add tap_has_ufo flag to saved state

If we tell the guest we support UFO and then migrate to host which
doesn't support it, we will find ourselves in grave difficulties.

Prevent this scenario by adding a flag to virtio-net's savevm format
which indicates whether the device requires host UFO support....

1d41b0c1 10/27/2009 07:29 pm Anthony Liguori

Work around dhclient brokenness

With the latest GSO/csum offload patches, any guest using an unpatched version
of dhclient (any Ubuntu guest, for instance), will no longer be able to get
a DHCP address.

dhclient is actually at fault here. It uses AF_PACKET to receive DHCP responses...

6c9f58ba 10/27/2009 07:29 pm Sridhar Samudrala

Enable UFO on virtio-net and tap devices

Enable UFO on the host tap device if supported and allow setting UFO
on virtio-net in the guest.

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

f5436dd9 10/27/2009 07:29 pm Mark McLoughlin

virtio-net: enable tap offload if guest supports it

We query the guest's feature set to see if it supports offload and,
if so, we enable those features on the tap interface.

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

70783b9c 10/27/2009 07:29 pm Mark McLoughlin

net: add receive_raw parameter to qemu_new_vlan_client()

Trivial patch to allow supplying a receive_raw function.

A future cleanup should combine this function pointer parameters into a
table.

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

3a330134 10/27/2009 07:29 pm Mark McLoughlin

virtio-net: add vnet_hdr support

With '-netdev tap,id=foo -nic model=virtio,netdev=foo' virtio-net can
detect that its peer (i.e. the tap backend) supports vnet headers
and advertise to the guest that it can send packets with partial
checksums and/or TSO packets....

bb6e6364 10/27/2009 07:29 pm Mark McLoughlin

net: add a client type code

This is so as to allow APIs which operate on specific client types
without having to add a function table entry which is only implemented
by a single client type.

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

bacbe284 10/27/2009 07:28 pm Juan Quintela

vmware_vga: port to vmstate

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

1ae71a77 10/27/2009 07:28 pm Juan Quintela

vmstate: Add VMSTATE_BUFFER_UNSAFE

Just sent <anything> as a buffer. We put the pointer and the size
code does the rest.

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

4a1b0f1c 10/27/2009 07:28 pm Juan Quintela

lsi_scsi: port to vmstate

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

6848d827 10/27/2009 07:28 pm Luiz Capitulino

monitor: Convert do_pci_device_hot_remove() to QObject

Errors are still directly printed, as we are only converting
regular output.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

467d44b2 10/27/2009 07:28 pm Juan Quintela

vmware_vga: Remove uselss casts from void *

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

fe740c43 10/27/2009 07:28 pm Juan Quintela

vmware_vga: qemu_malloc() returns void *

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

83ef8fe0 10/27/2009 07:28 pm Juan Quintela

vmware_vga: remove !EMBED_STDVGA code

It don't compile. And the trivial fixes (change vga.foo field to foo field
don't work either. No output

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

0c681322 10/27/2009 07:28 pm Juan Quintela

vmware_vga: scratch is really an array of uint32_t

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

3b1297f5 10/27/2009 07:28 pm Juan Quintela

vmware_vga: the support to change dinamically depth is not there

For a start bypp is not changed after vmsvga_reset() and it depends on depth

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

c63a5886 10/27/2009 07:28 pm Juan Quintela

vga: port vga-isa-mm to vmstate

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

b857ca45 10/27/2009 07:28 pm Juan Quintela

vga: port vga-isa to vmstate

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

f74599c4 10/27/2009 07:28 pm Juan Quintela

vga: port vmware std vga to vmstate

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

a4f9631c 10/27/2009 07:28 pm Juan Quintela

vga: port vga-pci to vmstate

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

c3264663 10/27/2009 07:28 pm Juan Quintela

vga: remove unused vga_common_save/load

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

c89507f7 10/27/2009 07:28 pm Juan Quintela

vmware_vga: Pass pci_vmsga_state_t arg no VGACommonState

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

2e885049 10/27/2009 07:28 pm Juan Quintela

e1000: unfold mac_reg_tosave array

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

28366c3a 10/27/2009 07:28 pm Juan Quintela

e1000: unfold mac_regarraystosave array

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

e482dc3e 10/27/2009 07:28 pm Juan Quintela

e1000: port to vmstate

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

2a3138ab 10/27/2009 07:28 pm Juan Quintela

vga: create is_vbe_vmstate field

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

11b6b345 10/27/2009 07:28 pm Juan Quintela

vga: port vga_common_save/load to vmstate

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

7c131dd5 10/27/2009 07:28 pm Juan Quintela

ne2000: port to vmstate

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

060110c3 10/27/2009 07:28 pm Juan Quintela

rtl8139: port to vmstate

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

c4a0f2d3 10/27/2009 07:28 pm Juan Quintela

eeprom93xx: port to vmstate

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

151b2986 10/27/2009 07:28 pm Juan Quintela

eepro100: port to vmstate

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

3d865059 10/27/2009 07:28 pm Juan Quintela

pcnet: port to vmstate

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

c7bde572 10/27/2009 07:28 pm Juan Quintela

vmstate: Unfold VMSTATE_INT32_VARRAY() only use and remove it

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

bdb4941d 10/27/2009 07:28 pm Juan Quintela

vmstate: add VMS_VARRAY_UINT16_UNSAFE (varrays with uint16 indexes)

It don't check types.
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

d4829d49 10/27/2009 07:28 pm Juan Quintela

vmstate: Add version arg to VMSTATE_SINGLE_TEST()

This allows to define VMSTATE_SINGLE with VMSTATE_SINGLE_TEST
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

76507c75 10/27/2009 07:28 pm Juan Quintela

vmstate: Add VMSTATE_BUFFER_UNUSED

It allows to have 'things' in savevm format not backed in the device state
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

9e77fcd0 10/27/2009 07:28 pm Juan Quintela

vmstate: Add VMSTATE_MACADDR for the new type

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

9ba2f660 10/27/2009 07:28 pm Juan Quintela

vmstate: Introduce the concept of sub-arrays

VMSTATE_SUB_ARRAY(..., start, num, ...) saves the num elems starting at
position start of the array
Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

9d29cdea 10/27/2009 07:28 pm Juan Quintela

rtl8139: port TallyCounters to vmstate

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

c29d8b1e 10/27/2009 07:28 pm Juan Quintela

vmstate: factor vmstate_offset_pointer

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

646bef19 10/27/2009 07:28 pm Juan Quintela

vmstate: factor vmstate_offset_array

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

844b236a 10/27/2009 07:28 pm Juan Quintela

vmstate: factor vmstate_offset_buffer

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

b2e15099 10/27/2009 07:28 pm Juan Quintela

vmstate: factor VMSTATE_*BUFFER* definitions

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