Statistics
| Branch: | Revision:

root / hw @ bd418d90

# Date Author Comment
bd418d90 06/10/2010 07:49 pm Isaku Yamahata

multiboot: compilation fix with DEBUG_MULTIBOOT enabled.

This patch fixes the following compilation errors in multiboot.c
when DEBUG_MULTIBOOT is defined.
Use TARGET_FMT_plx instead of %x for target_phys_addr_t.

CC    i386-softmmu/multiboot.o
cc1: warnings being treated as errors...
fe7f9567 06/10/2010 07:48 pm Isaku Yamahata

vga-isa-mm: remove one #ifdef CONFIG_BOCHS_VBE.

remove one #ifdef CONFIG_BOCHS_VBE.
Call vga_init_vbe() instead.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Blue Swirl <>

60a3992e 06/10/2010 05:21 pm Anthony Liguori

Merge remote branch 'mst/for_anthony' into staging

77d4f95e 06/10/2010 03:45 pm Edgar E. Iglesias

cris: Break out image loading to hw/cris-boot.c.

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

aecf1376 06/09/2010 05:10 pm Nathan Froyd

hw: honor low bit in mipssim machine

Signed-off-by: Nathan Froyd <>
Signed-off-by: Aurelien Jarno <>

940cda94 06/07/2010 05:23 pm Michael S. Tsirkin

virtio-net: truncating packet

virtio net attempts to peek into virtio queue to
determine that we have enough space for the complete
packet to fit. However, it fails to account for space
consumed by virtio net header when it does this,
under stress this results in a failure...

7375c86f 06/07/2010 12:53 pm Edgar E. Iglesias

petlogix-3adsp: Tweak displacement of cmdline and fdt blob.

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

7f974481 06/02/2010 11:54 am Michael S. Tsirkin

virtio-net: stop vhost backend on vmstop

vhost net currently keeps running after vmstop,
which causes trouble as qemy does not check
for dirty pages anymore.
The fix is to simply keep vm and vhost running/stopped
status in sync.

Tested-by: David L Stevens <>...

637503d1 06/01/2010 09:48 pm Luiz Capitulino

Monitor: Drop QMP documentation from code

Previous commit added QMP documentation to the qemu-monitor.hx
file, it's is a copy of this information.

While it's good to keep it near code, maintaining two copies of
the same information is too hard and has little benefit as we...

38141097 06/01/2010 09:34 pm Anthony Liguori

Merge remote branch 'mst/for_anthony' into HEAD

a132a679 06/01/2010 08:53 pm Alon Levy

virtio-serial-bus: fix ports_map allocation on init

Fix for too small allocation to ports_map

Signed-off-by: Alon Levy <>
Signed-off-by: Amit Shah <>
Signed-off-by: Anthony Liguori <>

9af9b330 05/31/2010 09:59 pm Blue Swirl

ioapic: improve debugging

Add a DPRINTF macro, use it also to see irq deliveries.

Signed-off-by: Blue Swirl <>

e03c22a9 05/31/2010 08:40 pm Lars Munch

arm: fix arm kernel boot for non zero start addr

Booting an arm kernel has been broken a while when booting from non zero start
address. This is due to the order of events: board init loads the kernel and
sets register 15 to the start address and then qemu_system_reset reset the cpu...

e075e788 05/31/2010 04:39 pm Isaku Yamahata

pci-hotplug: make them aware of pci domain.

add helper function which converts root bus to pci domain.
make them aware of pci domain.

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

5e434f4e 05/31/2010 04:33 pm Isaku Yamahata

pci: clean up of pci_set_default_subsystem_id().

Use pci accessor function.
don't return value because it always return 0 and
the caller doesn't check the return value.

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

3c18685f 05/31/2010 04:33 pm Isaku Yamahata

pci: add const to pci_is_express(), pci_config_size().

add const to pci_is_express(), pci_config_size().

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

0c6fcb62 05/31/2010 04:33 pm Isaku Yamahata

pci.h: remove unused constants.

So remove unused constants,
PCI_STATUS_RESERVED_MASK_LO, PCI_STATUS_RESERVED_MASK_HI,
PCI_COMMAND_RESERVED, PCI_COMMAND_RESERVED_MASK_HI.
They were used once, but they aren't used anymore.

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

1b4e8f73 05/31/2010 04:33 pm Isaku Yamahata

msix: remove duplicated defines.

remove defines which are already defined in pci_regs.h

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

aa6f63ff 05/30/2010 10:20 pm Blue Swirl

mc146818rtc: improve debugging

Add a separate flag for debugging coalesced interrupts.

Signed-off-by: Blue Swirl <>

471fd342 05/29/2010 11:23 pm Blue Swirl

pc: improve debugging

Add a DPRINTF macro and use it for ISA and PIC interrupts.

Signed-off-by: Blue Swirl <>

0a3c5921 05/29/2010 11:23 pm Blue Swirl

apic: improve debugging

Add a DPRINTF macro. Use TARGET_FMT_plx for printing target_phys_addr_t
items. Add a separate flag for debugging coalescing interrupts.

Signed-off-by: Blue Swirl <>

8ac02ff8 05/29/2010 11:23 pm Blue Swirl

i8259: improve debugging

Add a DPRINTF macro.

Signed-off-by: Blue Swirl <>

3386376c 05/29/2010 11:20 am Artyom Tarasenko

Pad iommu with an empty slot (necessary for SunOS 4.1.4)

On the real hardware (SS-5, LX) the MMU is not padded, but aliased.
Software shouldn't use aliased addresses, neither should it crash
when it uses (on the real hardware it wouldn't). Using empty_slot...

82f24fcc 05/28/2010 11:08 pm Riccardo Magliocchetti

Fix hw/gt64xxx.c compilation with DEBUG defined

Use TARGET_FMT_plx as format placeholder for target_phys_addr_t

Signed-off-by: Riccardo Magliocchetti <>
Signed-off-by: Aurelien Jarno <>

c1735af1 05/28/2010 10:48 pm Jan Kiszka

musicpal: Drop redundant reset call

Reset is now triggered after init, no need for explicit calls anymore.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Aurelien Jarno <>

97679527 05/28/2010 10:33 pm Avi Kivity

Fix overflow in i440fx_init()

The ram_size parameter can be larger than an int, so it may be truncated.

Fix by using the correct type.

Signed-off-by: Avi Kivity <>
Signed-off-by: Aurelien Jarno <>

29f91781 05/27/2010 09:57 pm Jes Sorensen

vhost_net.c: v2 Fix build failure introduced by 0bfcd599e3f5c5679cc7d0165a0a1822e2f60de2

Fix build failure introduced by 0bfcd599e3f5c5679cc7d0165a0a1822e2f60de2

The format statement expects unsigned long on x86_64, but receives
unsigned long long, so gcc exits with an error....

d63baf92 05/26/2010 10:14 pm Igor V. Kovalenko

sparc64: clean up pci bridge map

- remove unused host state and store pci bus pointer only
- do not map host state access into unused 1fe.10000000 range
- reorder pci region registration
- assign pci i/o region to isa_mem_base

Signed-off-by: Igor V. Kovalenko <>...

5910b047 05/26/2010 10:13 pm Igor V. Kovalenko

sparc64: rename sun4u cpu to Ultrasparc IIi

Signed-off-by: Igor V. Kovalenko <>
Signed-off-by: Blue Swirl <>

fbe6d7a4 05/24/2010 11:18 pm Gerd Hoffmann

use new cursor struct + functions for vmware vga and sdl.

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

ebbeb789 05/24/2010 11:18 pm Amos Kong

Virtio-net: Replace the hardcode 6 with defined ETN_ALEN

hw/virtio-net.h:
#define ETH_ALEN 6
ETH_ALEN was defined by commit 7967406801aa897fae83caad3278ac85a342adaa

Signed-off-by: Amos Kong <>
Signed-off-by: Anthony Liguori <>

9c678ccd 05/24/2010 06:53 pm Anthony Liguori

Merge remote branch 'kwolf/for-anthony' into staging

3853528a 05/24/2010 05:00 pm Anthony Liguori

Merge remote branch 'qmp/for-anthony' into staging

16f04416 05/24/2010 12:14 pm Edgar E. Iglesias

microblaze: Handle new elf mach nr for sysemu.

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

259d5577 05/22/2010 04:32 pm Jan Kiszka

lsi: Fix value overflow in request tag processing

This fixes a mismerge of 64d564094cac5f72eeaeb950c442b773a00d3586 (wrong
patch version): We need to mask the tag value properly to obtain its
device ID.

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

65899fe3 05/22/2010 12:07 pm Artyom Tarasenko

sparc32 protect read-only bits in DMA CSR registers

On a real hardware changing read-only bits has no effect
Use a mask common for SCSI and Ethernet registers. The crucial
bit is DMA_INTR, because setting or clearing it may produce
spurious interrupts.

This patch allows booting Solaris 2.3...

ae6b2c4e 05/22/2010 11:39 am TeLeMan

vmstate: fix breakage by 7e72abc382b700a72549e8147bdea413534eeedc

cirrus_post_load() will be executed twice when loading vm states and then the
wrong physical memory will be registered. This issue may lead to crash qemu.

Signed-off-by: TeLeMan <>...

0bfcd599 05/22/2010 11:02 am Blue Swirl

Fix %lld or %llx printf format use

Signed-off-by: Blue Swirl <>

4556bd8b 05/22/2010 11:00 am Blue Swirl

Compile dma only once

Use a qemu_irq to request CPU exit.

7 compilations less for the full build.

Signed-off-by: Blue Swirl <>

c86d2c23 05/22/2010 10:59 am Blue Swirl

pckbd: improve debugging

Signed-off-by: Blue Swirl <>

956a3e6b 05/22/2010 10:59 am Blue Swirl

Compile pckbd only once

Use a qemu_irq to indicate A20 line changes. Move I/O port 92
to pckbd.c.

Signed-off-by: Blue Swirl <>

a9456998 05/21/2010 05:09 pm Edgar E. Iglesias

axisdev88: Fix passing of kernel cmdline.

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

d6759902 05/21/2010 01:00 pm Rabin Vincent

arm_timer: reload timer when enabled

Reload the timer when TimerControl is written, if the timer is to be
enabled. Otherwise, if an earlier write to TimerLoad was done while
periodic mode was not set, s->delta may incorrectly still have the value
of the maximum limit instead of the value written to TimerLoad....

a9cf98d9 05/21/2010 01:00 pm Rabin Vincent

arm_timer: fix oneshot mode

In oneshot mode, the delta needs to come from the TimerLoad register,
not the maximum limit.

Signed-off-by: Rabin Vincent <>
Signed-off-by: Aurelien Jarno <>

0b2ec6fc 05/21/2010 12:52 pm Michael Walle

pflash_cfi01: add device ID read command

Add support to read manufacturer and device ID. For everything else (eg.
lock bits) 0 is returned.

Signed-off-by: Michael Walle <>
Signed-off-by: Aurelien Jarno <>

618fbb84 05/21/2010 12:49 pm Christoph Hellwig

virtio-blk: fix barrier support

Before issuing the barrier to the block driver we need to flush our oustanding
queue of write requests, as the flush is supposed to be issued after them.

Signed-off-by: Christoph Hellwig <>
Signed-off-by: Kevin Wolf <>

de6c8042 05/21/2010 12:49 pm Stefan Hajnoczi

virtio-blk: Avoid zeroing every request structure

The VirtIOBlockRequest structure is about 40 KB in size. This patch
avoids zeroing every request by only initializing fields that are read.
The other fields are either written to or may not be used at all....

81a204e4 05/20/2010 11:37 pm Eduard - Gabriel Munteanu

pc: fix segfault introduced by 3d53f5c36ff6

Commit 3d53f5c36ff6 introduced a segfault by erroneously making fw_cfg a
'void **' and passing it around in different ways.

Signed-off-by: Eduard - Gabriel Munteanu <>
Signed-off-by: Blue Swirl <>

6c6a58ae 05/19/2010 06:04 pm Markus Armbruster

Revert "PCI: Convert pci_device_hot_add() to QObject"

Short story: We don't want pci_add in QMP. Long story follows.

pci_add can do two things:

  • Hot plug a PCI NIC. device_add is more general.
  • Hot plug a PCI disk controller, and a drive connected to it....
b752daf0 05/19/2010 06:04 pm Markus Armbruster

Revert "monitor: Convert do_pci_device_hot_remove() to QObject"

We don't want pci_del in QMP. Use device_del instead.

This reverts commit 6848d827162fea039f2658414a4adb6164a4f9b0.

Conflicts:

hw/pci-hotplug.c
sysemu.h

Signed-off-by: Markus Armbruster <>

3d78499a 05/18/2010 10:12 pm Thomas Monjalon

target-ppc: remove dead code

This function had been disabled from the beginning:
see 9fddaa0c0cabb610947146a79b4a9a38b0a216e5

cpu_reset() function is in target-ppc/helper.c

Signed-off-by: Thomas Monjalon <>
Acked-by: Alexander Graf <>...

fe270d04 05/18/2010 10:12 pm Alexander Graf

target-s390: add firmware code

This patch adds a firmware blob to the S390 target. The blob is a simple
implementation of a virtio client that tries to read the second stage
bootloader from sectors described as of offset 0x20 in the MBR.

In combination with an updated zipl this allows for booting from virtio...

12941418 05/17/2010 09:17 pm Anthony Liguori

Merge remote branch 'kwolf/for-anthony' into staging

f7ce7287 05/17/2010 08:41 pm Anthony Liguori

Merge remote branch 'mst/for_anthony' into staging

38d8dfa1 05/17/2010 11:20 am Kevin Wolf

ide: Fix ide_dma_cancel

When cancelling a request, bdrv_aio_cancel may decide that it waits for
completion of a request rather than for cancellation. IDE therefore can't
abandon its DMA status before calling bdrv_aio_cancel; otherwise the callback
of a completed request would use invalid data....

1012e960 05/15/2010 08:52 pm Blue Swirl

Update to a hopefully more future proof FSF address

See also 70539e1850ddd3a7ee6f9a8db7bd8e81b85225a4,
8167ee883931cb20c6264fc19d040ce2dc6ceaaa,
530e7615ce3c01882e582c84dc6304ab98a3d5c5 and
fad6cb1a565bb73f83fc0e2654489457b489e436.

Signed-off-by: Blue Swirl <>

0b8f9be6 05/15/2010 08:36 pm Blue Swirl

Trim unnecessary includes

Signed-off-by: Blue Swirl <>

ec51e364 05/15/2010 07:42 pm Isaku Yamahata

mc146818rtc: remove #ifdef DEBUG_CMOS.

remove #ifdef DEBUG_CMOS by using macro.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

019ea978 05/15/2010 07:41 pm Isaku Yamahata

apm: remove #ifdef DEBUG.

remove #ifdef DEBUG by using macro.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

50d8ff8b 05/15/2010 07:41 pm Isaku Yamahata

acpi_piix4: remove #ifdef DEBUG.

removed #ifdef DEBUG by using macro.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

b246eebb 05/15/2010 07:39 pm Isaku Yamahata

pm_smbus: remove #ifdef DEBUG.

remove #ifdef DEBUG by using macro.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

ac404095 05/15/2010 07:28 pm Isaku Yamahata

pci hotadd, acpi_piix4: remove global variables

remove global variables, gpe and pci0_status by moving them
into PIIX4PMState.

Signed-off-by: Blue Swirl <>
Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>...

87c30546 05/15/2010 07:26 pm Isaku Yamahata

pci hotplug: add argument to pci hot plug callback.

Add argument, DeviceState*, to pci hot plug callback.
The argument will be used later to remove global variable.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>...

e8ec0571 05/15/2010 07:24 pm Isaku Yamahata

acpi_piix4: qdevfy.

qdevfy acpi_piix4.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

1d914fa0 05/15/2010 07:21 pm Isaku Yamahata

rtc: make rtc_xxx accept/return ISADevice instead of RTCState.

To match rtc_xxx with qdev, make rtc_xxx accept and return ISADevice
instead of RTCState.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

e1460e47 05/15/2010 07:20 pm Isaku Yamahata

pc: move rtc declarations from pc.h into a dedicated header file.

Move rtc_xxx declarations from pc.h into mc146818rtc.h.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

845773ab 05/15/2010 06:53 pm Isaku Yamahata

pc: split out piix specific part from pc.c into pc_piix.c

Finally, we can safely split out the piix specific part from pc.c
into pc_piix.c.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

e3a5cf42 05/15/2010 06:52 pm Isaku Yamahata

pc: split out pci device init from pc_init1() into pc_pci_device_init()

Split out pci device initialization from pc_init1() into pc_pci_device_init().
and removed unnecessary braces.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>...

ffe513da 05/15/2010 06:51 pm Isaku Yamahata

pc: split out basic device init from pc_init1() into pc_basic_device_init()

Split out basic device, i.e. legacy devices like floppy, initialization
from pc_init1() into pc_basic_device_init().
Later it will be used.

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

765d7908 05/15/2010 06:50 pm Isaku Yamahata

pc: split out vga initialization from pc_init1() into pc_vga_init().

Split out vga initialization which is independent of piix
from pc_init1() as pc_vga_init().
Later it will be used.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>...

3d53f5c3 05/15/2010 06:47 pm Isaku Yamahata

pc: split out memory allocation from pc_init1() into pc_memory_init()

Split out memory allocation and rom/bios loading which doesn't depend
on piix from pc_init1() into pc_memory_init().
Later it will be used.

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

70166477 05/15/2010 06:45 pm Isaku Yamahata

pc: split out cpu initialization from pc_init1() into pc_cpus_init().

split out cpu initialization which is piix independent from pc_init1()
into pc_cpus_init(). Later it will be used.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>...

8e78eb28 05/15/2010 06:42 pm Isaku Yamahata

pc: make pc_init1() not refer ferr_irq directly.

By introducing a registering function, make pc_init1() not refer to
ferr_irq directly in order to make ferr_irq piix independent.
Later pc_init1() will be split out into another file keeping ferr_irq
static....

6f09e686 05/15/2010 06:41 pm Isaku Yamahata

pc: introduce a function to allocate cpu irq.

Introduce a function, pc_allocate_cpu_irq(), to allocate cpu irq
in order to make pic_irq_request() piix independent.
Later piix code will be split out to another file keeping pic_irq_request()
static.

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

ec2654fb 05/15/2010 06:40 pm Isaku Yamahata

pc: remove global variable rtc_state by using qemu_irq.

Remove the reference to the global variable, rtc_state, by passing
function argument to cmos_init_hd(), cmos_init().

Signed-off-by: Isaku Yamahata <>
Cc: Paolo Bonzini <>...

01b9e8c1 05/15/2010 06:38 pm Isaku Yamahata

pc: remove a global variable, floppy_controller.

Remove a global variable, floppy_controller.
Since it is unnecessarily global, make it local and pass it as
a function argument.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>...

57864959 05/15/2010 06:37 pm Isaku Yamahata

pc: make an unnecessary global variable, pit, local.

remove unnecessary global static variables, pit.
Make it local.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

f885f1ea 05/15/2010 06:33 pm Isaku Yamahata

pc, i440fx: Make smm enable/disable function i440fx independent.

make cpu_smm_update() generic to be independent on i440fx by
registering a callback.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Blue Swirl <>

b8d6f539 05/15/2010 06:32 pm Isaku Yamahata

pc: initialize ioapic before use.

The changeset of 2c8d9340203c7f19265fd4cb2341f568217a3af6
prevents isa_irq_handler() from NULL refering of IsaIrqState::ioapic.
However it would be better to initialize the member before reference.

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

93d89f63 05/15/2010 06:30 pm Isaku Yamahata

acpi: split acpi.c into the common part and the piix4 part.

Split acpi.c into the common part and the piix4 specific part.
The common part will be used later.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>...

990b150e 05/15/2010 06:29 pm Isaku Yamahata

acpi: add acpi constants from linux header files and use them.

add acpi constants from linux header files and
replace the old constants with them.
The acpi constants will be used by other file.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>...

04762841 05/15/2010 06:27 pm Isaku Yamahata

acpi: split out apm register emulation from acpi.c

Split out apm register emulation for acpi.c into apm.c.
The apm emulation will be used later.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>
Cc: Aurelien Jarno <>...

fc0bdd99 05/15/2010 06:25 pm Isaku Yamahata

acpi: split out piix4 smbus routines from acpi.c into pm_smbus.c

Split out piix4 smbus routines from acpi.c into pm_smbus.c and
use it.
The split out smbus emulation will be used later.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>...

dc683910 05/15/2010 05:34 pm Jan Kiszka

mc146818rtc: Register vmstate via qdev

After defining the required alias ID, we can push vmstate registration
of mc146818rtc to qdev.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

a64405d1 05/15/2010 05:33 pm Jan Kiszka

fdc: Register vmstate via qdev

Establish vmstate containers for ISA and sysbus variant, define the
iobase as instance ID alias, and let qdev do the vmstate registration
work.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

1cc9f514 05/15/2010 05:32 pm Jan Kiszka

serial: Register vmstate via qdev

At least for isa-serial, we can already let qdev do the vmstate
registration for us. It just takes wrapping vmstate for the
encapsulating ISASerialState and defining the proper instance ID
aliases.

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

4d2ffa08 05/15/2010 05:23 pm Jan Kiszka

vmstate: Add support for alias ID

Some legacy users (mostly PC devices) of vmstate_register manage
instance IDs on their own, and that unfortunately in a way that is
incompatible with automatically generated ones. This so far prevents
switching those users to vmstates that are registered by qdev....

ec86f3e1 05/15/2010 05:02 pm Jan Kiszka

vmstate: Drop unused post_save handler

No device makes use of it anymore.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

604be200 05/15/2010 04:57 pm Shin-ichiro KAWASAKI

sh: sm501: add 2D engine support

In linux kernel v2.6.33, sm501 frame buffer driver modified to support
2D graphics engine on sm501 chip. One example is "fill rectangle" operation.
But current qemu's sm501 emulation doesn't support it. This results in
graphics console disturbance....

e5d3b98d 05/15/2010 03:31 pm Andrzej Zaborowski

tmp105: update the register in post_load where it needs updating.

This was the only user of .post_save as noticed by Jan Kiszka and
seems to have been added there wrongly during conversion to
VMStateDescription.

Signed-off-by: Andrzej Zaborowski <>

af2960f9 05/14/2010 10:32 pm Blue Swirl

e1000: make some tables 'const'

Signed-off-by: Blue Swirl <>

117e1e82 05/14/2010 10:32 pm Blue Swirl

ide: make a table 'const'

Signed-off-by: Blue Swirl <>

68f04a3c 05/14/2010 10:32 pm Blue Swirl

vga: make some tables 'const'

Signed-off-by: Blue Swirl <>

9c0afd0e 05/12/2010 10:27 pm Blue Swirl

apb: don't use any static state

Signed-off-by: Blue Swirl <>

5acd0646 05/12/2010 10:27 pm Blue Swirl

pckbd: don't use any static state

Signed-off-by: Blue Swirl <>

57c3229b 05/12/2010 06:33 pm Michael S. Tsirkin

virtio-net: return with value in void function

virtio-net has return with value in a void function.
No idea why does it compile with gcc,
but this isn't standard C.

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

fae054b0 05/12/2010 06:07 pm Michael S. Tsirkin

virtio: invoke set_features on load

After migration, vhost was not getting features
acked because set_features callback was never invoked.
The fix is just to invoke that callback.

Reported-by: David L Stevens <>
Signed-off-by: Michael S. Tsirkin <>...

c3f8f611 05/12/2010 02:02 am Michael S. Tsirkin

pci: irq_state vmstate breakage

Code for saving irq_state got vm_state
macros wrong, passing in the wrong parameter.
As a result, we both saved a wrong value
and restored it to a wrong offset.

This leads to device and bus irq counts getting
out of sync, which in turn leads to interrupts getting lost or...

925fe64a 05/12/2010 01:59 am Alex Williamson

pci: cleanly backout of pci_qdev_init()

If the init function of a device fails, as might happen with device
assignment, we never undo the work done by do_pci_register_device().
This not only causes a bit of a memory leak, but also leaves a bogus
pointer in the bus devices array that can cause a segfault or...

64d56409 05/10/2010 07:36 pm Jan Kiszka

lsi: Handle removal of selected devices

We must not store references to selected devices as they may be
hot-removed. Instead, look up the device based on its tag right before
using it. If the device disappeared, throw an interrupt and disconnect.

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