Statistics
| Branch: | Revision:

root / hw @ 39ac8455

# Date Author Comment
39ac8455 04/01/2011 07:34 pm David Gibson

Implement hcall based RTAS for pSeries machines

On pSeries machines, operating systems can instantiate "RTAS" (Run-Time
Abstraction Services), a runtime component of the firmware which implements
a number of low-level, infrequently used operations. On logical partitions...

9d52e907 04/01/2011 07:34 pm David Gibson

Add POWER7 support for ppc

This adds emulation support for the recent POWER7 cpu to qemu. It's far
from perfect - it's missing a number of POWER7 features so far, including
any support for VSX or decimal floating point instructions. However, it's
close enough to boot a kernel with the POWER7 PVR....

9fdf0c29 04/01/2011 07:34 pm David Gibson

Start implementing pSeries logical partition machine

This patch adds a "pseries" machine to qemu. This aims to emulate a
logical partition on an IBM pSeries machine, compliant to the
"PowerPC Architecture Platform Requirements" (PAPR) document.

This initial version is quite limited, it implements a basic machine...

4040ab72 04/01/2011 07:34 pm David Gibson

Implement the bus structure for PAPR virtual IO

This extends the "pseries" (PAPR) machine to include a virtual IO bus
supporting the PAPR defined hypercall based virtual IO mechanisms.

So far only one VIO device is provided, the vty / vterm, providing
a full console (polled only, for now)....

f43e3525 04/01/2011 07:34 pm David Gibson

Virtual hash page table handling on pSeries machine

On pSeries logical partitions, excepting the old POWER4-style full system
partitions, the guest does not have direct access to the hardware page
table. Instead, the pagetable exists in hypervisor memory, and the guest...

89c473fd 03/28/2011 07:34 pm Michael S. Tsirkin

virtio-pci: fix bus master work around on load

Commit c81131db15dd1844d0db1d51f3cd7a105cfd2cf3
detects old guests by comparing virtio and
PCI status. It attempts to do this on load,
as well, but load_config callback in a binding
is invoked too early and so the virtio status...

6cdfab28 03/28/2011 07:34 pm Michael S. Tsirkin

e1000: check buffer availability

Reduce spurious packet drops on RX ring empty
by verifying that we have at least 1 buffer
ahead of the time.

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

fbe0c559 03/28/2011 07:34 pm Michael S. Tsirkin

virtio-serial: don't crash on invalid input

Fix crash on invalid input in virtio-serial.
Discovered by code review, untested.

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

7b67b18a 03/28/2011 07:34 pm Michael S. Tsirkin

vhost: fix dirty page handling

vhost was passing a physical address to cpu_physical_memory_set_dirty,
which is wrong: we need to translate to ram address first.

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

Note: this lead to crashes during migration, so the patch...

90a20dbb 03/28/2011 07:34 pm Isaku Yamahata

pci: replace the magic, 256, for the maximum of devfn

Introduce symbol PCI_SLOT_MAX for the # of slots,
and replace the magic, 256.

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

5256d8bf 03/28/2011 07:34 pm Isaku Yamahata

pci: use devfn for pci_find_device() instead of (slot, fn) pair

(slot, fn) pair is somewhat confusing because of ARI.
So use devfn for pci_find_device() instead of (slot, fn).

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

6ff534b6 03/28/2011 07:34 pm Isaku Yamahata

pci: use PCI_DEVFN in pci_get_bus_devfn()

Replace hardcoded logic by a common macro.

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

6f3279b5 03/28/2011 07:34 pm Isaku Yamahata

pci: use uint8_t for devfn_min

use uint8_t for devfn_min instead of int.

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

bf6b87a8 03/26/2011 01:11 pm Benjamin Poirier

rtl8139: add vlan tag insertion

Add support to the emulated hardware to insert vlan tags in packets
going from the guest to the network.

Signed-off-by: Benjamin Poirier <>
Cc: Igor V. Kovalenko <>
Cc: Jason Wang <>...

18dabfd1 03/26/2011 01:10 pm Benjamin Poirier

rtl8139: add vlan tag extraction

Add support to the emulated hardware to extract vlan tags in packets
going from the network to the guest.

Signed-off-by: Benjamin Poirier <>
Cc: Igor V. Kovalenko <>
Cc: Jason Wang <>...

2c406b8f 03/26/2011 01:10 pm Benjamin Poirier

rtl8139: cleanup FCS calculation

clean out ifdef's around ethernet checksum calculation

Signed-off-by: Benjamin Poirier <>
Acked-by: Igor V. Kovalenko <>
Cc: Jason Wang <>
Cc: Michael S. Tsirkin <>...

56d7a964 03/24/2011 03:11 pm Anthony Liguori

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

43f20196 03/22/2011 08:44 am Jan Kiszka

vmmouse: Fix initialization

Latest refactorings left vmmouse nonfunctional behind. Fix it by adding
the required device initialization.

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

ff90d503 03/22/2011 08:44 am Jan Kiszka

vmmouse: Register vmstate via qdev

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

7f90fa77 03/22/2011 08:42 am René Rebe

fix applesmc REV key

Fix applesmc REV key string literal hex encoding.

Signed-off-by: René Rebe <>
Acked-by: Alexander Graf <>
Signed-off-by: Aurelien Jarno <>

735e77ec 03/21/2011 10:43 pm Stefan Hajnoczi

e1000: Fix multi-descriptor packet checksum offload

The PCI/PCI-X Family of Gigabit Ethernet Controllers Software
Developer’s Manual states the following about the POPTS field:

Provides a number of options which control the handling of this
packet. This field is ignored except on the first data descriptor of...
aa315f95 03/21/2011 10:28 pm Aurelien Jarno

Merge branch 'for-anthony' of git://github.com/bonzini/qemu

  • 'for-anthony' of git://github.com/bonzini/qemu:
    remove qemu_get_clock
    add a generic scaling mechanism for timers
    change all other clock references to use nanosecond resolution accessors
    change all rt_clock references to use millisecond resolution accessors...
32465727 03/21/2011 10:28 pm Aurelien Jarno

Merge branch 'for-anthony' of git://repo.or.cz/qemu/kevin

  • 'for-anthony' of git://repo.or.cz/qemu/kevin:
    Add qcow2 documentation
    hw/xen_disk: aio_inflight not released in handling ioreq when nr_segments==0
    Improve error handling in do_snapshot_blkdev()...
34933c8c 03/21/2011 10:04 pm Peter Maydell

hw/arm_sysctl.c: Add the Versatile Express system registers

Add support for the Versatile Express SYS_CFG registers, which provide
a generic means of reading or writing configuration information from
various parts of the board. We only implement shutdown and reset....

2d6c1ef4 03/21/2011 01:27 pm Amit Shah

char: Prevent multiple devices opening same chardev

Prevent:

-chardev socket,path=/tmp/foo,server,nowait,id=c0 \
-device virtserialport,chardev=c0,id=vs0 \
-device virtserialport,chardev=c0,id=vs1

Reported-by: Mike Cao <>
Signed-off-by: Amit Shah <>

f9a90f18 03/21/2011 01:26 pm Amit Shah

virtio-console: Keep chardev open for other users after hot-unplug

After a hot-unplug operation, the previous behaviour was to close the
chardev. That meant the chardev couldn't be re-used. Also, since
chardev hot-plug isn't possible so far, this means virtio-console...

32059220 03/21/2011 01:25 pm Amit Shah

virtio-serial: Enable ioeventfd

Enable ioeventfd for virtio-serial devices by default. Commit
25db9ebe15125deb32958c6df74996f745edf1f9 lists the benefits of using
ioeventfd.

Copying a file from guest to host over a virtio-serial channel didn't
show much difference in time or io_exit rate....

e9b382b0 03/21/2011 01:25 pm Amit Shah

virtio-serial-bus: Simplify handle_output() function

There's no code change, just re-arrangement to simplify the function
after recent modifications.

Reported-by: Juan Quintela <>
Signed-off-by: Amit Shah <>

fee063c0 03/21/2011 01:25 pm Amit Shah

virtio-serial: Don't clear ->have_data() pointer after unplug

After a port unplug operation, the port->info->have_data() pointer was
set to NULL. The problem is, the ->info struct is shared by all ports,
effectively disabling writes to other ports.

Reported-by: juzhang <>...

6b331efb 03/21/2011 01:25 pm Amit Shah

virtio-serial: Use a struct to pass config information from proxy

Instead of using a single variable to pass to the virtio_serial_init
function, use a struct so that expanding the number of variables to be
passed on later is easier.

Signed-off-by: Amit Shah <>

0b8b716d 03/21/2011 01:25 pm Amit Shah

virtio-serial: Disallow generic ports at id 0

Port 0 is reserved for virtconsole devices for backward compatibility
with the old -virtioconsole (from qemu 0.12) device type.

libvirt prior to commit 8e28c5d40200b4c5d483bd585d237b9d870372e5 used
port 0 for generic ports. libvirt will no longer do that, but disallow...

7bd427d8 03/21/2011 10:23 am Paolo Bonzini

change all rt_clock references to use millisecond resolution accessors

This was done with:

sed -i '/get_clock\>.*rt_clock/s/get_clock\>/get_clock_ms/' \
$(git grep -l 'get_clock\>.*rt_clock' )
sed -i '/new_timer\>.*rt_clock/s/new_timer\>/new_timer_ms/' \...
74475455 03/21/2011 10:23 am Paolo Bonzini

change all other clock references to use nanosecond resolution accessors

This was done with:

sed -i 's/qemu_get_clock\>/qemu_get_clock_ns/' \
$(git grep -l 'qemu_get_clock\>' )
sed -i 's/qemu_new_timer\>/qemu_new_timer_ns/' \
$(git grep -l 'qemu_new_timer\>' )...
d81e54de 03/19/2011 10:43 am Blue Swirl

petalogix_ml605_mmu: remove unused variable

Remove a write-only variable, spotted by GCC 4.6.0:
/src/qemu/hw/petalogix_ml605_mmu.c: In function 'petalogix_ml605_init':
/src/qemu/hw/petalogix_ml605_mmu.c:153:11: error: variable 'serial' set but not used [-Werror=unused-but-set-variable]...

ca22a3a3 03/19/2011 10:29 am Jan Kiszka

i8254: Fix migration from older versions

qdev conversion broke migration as the previous version used vmstate
instance IDs derived from the iobase. Fix it by registering a legacy
alias.

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

93f1e401 03/16/2011 04:18 pm Edgar E. Iglesias

xilinx: Add AXIENET & DMA models

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

00914b7d 03/16/2011 04:18 pm Michal Simek

microblaze: Add PetaLogix ml605 MMU little-endian ref design

Add the first Microblaze little endian platform.
Platform uses uart16550, axi ethernet, timer, intc.

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

b93af93d 03/15/2011 02:21 pm Brian Wheeler

Fix ATA SMART and CHECK POWER MODE

This patch fixes two things:

1) CHECK POWER MODE

The error return value wasn't always zero, so it would show up as
offline. Error is now explicitly set to zero.

2) SMART

The smart values that were returned were invalid and tools like skdump...

209bef3e 03/15/2011 02:21 pm Feiran Zheng

hw/xen_disk: aio_inflight not released in handling ioreq when nr_segments==0

In hw/xen_disk.c, async writing ioreq is leaked when
ioreq->req.nr_segments==0, because `aio_inflight` flag is not released
properly (skipped by misplaced "break").

Signed-off-by: Feiran Zheng <>...

94ad5b00 03/13/2011 04:44 pm Paolo Bonzini

always qemu_cpu_kick after unhalting a cpu

This ensures env->halt_cond is broadcast, and the loop in
qemu_tcg_wait_io_event and qemu_kvm_wait_io_event is exited
naturally rather than through a timeout.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Blue Swirl <>

913895ab 03/13/2011 03:35 pm Stefan Weil

hw/fmopl: Fix buffer access out-of-bounds errors

Index 75 is one too large for AR_TABLE75, DR_TABLE75.
This error was reported by cppcheck.

hw/fmopl.c:600: error: Buffer access out-of-bounds: OPL.AR_TABLE
hw/fmopl.c:601: error: Buffer access out-of-bounds: OPL.DR_TABLE...

7165448a 03/13/2011 03:24 pm William Dauchy

moving eeprom initialization

The initialization should not be only on reset but also when initializing
the device.
It resolves a bug when hot plugging a pci network device: the mac address
was always null.

Signed-off-by: William Dauchy <>...

e14c8062 03/12/2011 11:52 am Blue Swirl

pc: fix wrong CMOS values for floppy drives

Before commit 63ffb564dca94f8bda01ed6d209784104630a4d2, states for
floppy drives were calculated in fdc.c:fd_revalidate(). There it is
also considered whether a disk is inserted or not. The commit didn't copy
the logic completely to pc.c, which caused a regression....

73ad9e62 03/11/2011 04:24 pm Michal Simek

microblaze: Fix PetaLogix company name

trivial fix.

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

82fa39b7 03/11/2011 12:12 am Juan Quintela

vmstate: Fix varrays with uint8 indexes

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

a624b086 03/11/2011 12:12 am Juan Quintela

vmstate: add UINT32 VARRAYS

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

2a57b6c8 03/11/2011 12:12 am Juan Quintela

vmstate: add VMSTATE_STRUCT_VARRAY_INT32

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

15c6a56e 03/11/2011 12:12 am Juan Quintela

vmstate: add VMSTATE_INT64_ARRAY

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

1283da72 03/11/2011 12:12 am Juan Quintela

vmstate: add VMSTATE_STRUCT_VARRAY_UINT32

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

6059631c 03/11/2011 12:12 am Juan Quintela

vmstate: Add a way to send a partial array

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

639f49b6 03/11/2011 12:12 am Juan Quintela

vmstate: be able to store/save a pci device from a pointer

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

f6317a6e 03/11/2011 12:12 am Juan Quintela

vmstate: move timers to use test instead of version

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

9122a8fe 03/11/2011 12:12 am Juan Quintela

vmstate: add VMSTATE_UINT32_EQUAL

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

d48751ed 03/10/2011 10:16 am Edgar E. Iglesias

xilinx-ethlite: Simplify byteswapping to/from brams

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

b651fc6f 03/10/2011 04:38 am Dmitry Eremin-Solenikov

mainstone: PCMCIA support

Extend mst_fpga and mainstone with logic to support PCMCIA
attachment (IRQs, status regs).

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

95499a1d 03/10/2011 04:36 am Dmitry Eremin-Solenikov

mainstone: use gpio 0 for connection of FPGA instead of hooking into PIC directly

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

8034ce7d 03/10/2011 04:31 am Andrzej Zaborowski

pxa2xx_timer: Get rid of .level in PXA2xxTimer0.

7c29d6ce 03/10/2011 04:11 am Andrzej Zaborowski

pxa2xx_pic: fixup initialisation

This is based on Dmitry Eremin-Solenikov's patch but simplified.

4ff927cc 03/10/2011 03:46 am Dmitry Eremin-Solenikov

pxa2xx_timer: separate irq for pxa27x handling

First, sysbus_init_irq shan't be called on on-stack variables. Indeed,
it only stores a passed pointer in qdev and the stored irq is later
populated, so we get a nice write-to-stack bug.
Second, irq for pxa27x should probably be handled in a more gentler way,...

f19410ca 03/07/2011 02:42 pm Michael Walle

lm32: system control model

This patch add support for a system control block. It is supposed to
act as helper for the emulated program. E.g. shutting down the VM or
printing test results. This model is intended for testing purposes only and
doesn't fit to any real hardware. Therefore, it is not added to any board...

e5f799a2 03/07/2011 02:42 pm Michael Walle

lm32: support for creating device tree

This patch adds helper functions to create a ROM, which contains a hardware
description of a board. This is used in Theobromas LM32 Linux port.

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

d821732a 03/07/2011 02:42 pm Michael Walle

lm32: EVR32 and uclinux BSP

This patch adds support for the following two BSPs:
- LM32 EVR32 BSP (as used by RTEMS)
- uclinux BSP by Theobroma Systems

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

4ef66fa7 03/07/2011 02:42 pm Michael Walle

lm32: interrupt controller model

This patch adds the interrupt controller of the lm32. Because the PIC is
accessed through special control registers and opcodes, there are callbacks
from the lm32 translation code to this model.

Signed-off-by: Michael Walle <>...

15d7dc4f 03/07/2011 02:42 pm Michael Walle

lm32: juart model

This patch adds the JTAG UART model. It is accessed through special control
registers and opcodes. Therefore the translation uses callbacks to this
model.

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

f89286ae 03/07/2011 02:42 pm Michael Walle

lm32: pic and juart helper functions

This patch adds init functions for the PIC and JTAG UART commonly used
in the board initialization.

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

ea7924dc 03/07/2011 02:42 pm Michael Walle

lm32: timer model

This patch adds support for the LatticeMico32 system timer.

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

770ae571 03/07/2011 02:42 pm Michael Walle

lm32: uart model

This patch add support for the LatticeMico32 UART.

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

6ed221b6 03/07/2011 12:37 am Adam Lackorzynski

target-arm: Integrate secondary CPU reset in arm_boot

Integrate secondary CPU reset into arm_boot, removing it from realview.c.
On non-Linux systems secondary CPUs start with the same entry as the boot
CPU.

Signed-off-by: Adam Lackorzynski <>...

fa250144 03/07/2011 12:37 am Adam Lackorzynski

target-arm: Fix soft interrupt in GIC distributor

Fix selection of target list filter mode.

Signed-off-by: Adam Lackorzynski <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

532847e4 03/06/2011 09:10 pm Juan Quintela

vmstate: remove grackle_pci savevm code

It was migrating the wrong structures, no way it would work

Signed-off-by: Juan Quintela <>
Signed-off-by: Aurelien Jarno <>

9023f7b2 03/06/2011 09:10 pm Juan Quintela

vmstate: remove uninorth savevm code

It was migrating the wrong structures, no way it would work

Signed-off-by: Juan Quintela <>
Signed-off-by: Aurelien Jarno <>

05a7fcd0 03/06/2011 09:10 pm Juan Quintela

gt64xxx: remove savevm support

Signed-off-by: Juan Quintela <>
Signed-off-by: Aurelien Jarno <>

0d2e91c1 03/06/2011 09:02 pm Aurelien Jarno

hw/sd.c: fix sd_set_cb() crash when bdrv == NULL

sd_set_cb() calls bdrv_is_read_only() and bdrv_is_inserted() even if
no block driver is associated with the card reader.

This patch fixes the issues by not setting the irq in this case, this
fixes ARM versatile crash....

9793212b 03/06/2011 08:01 pm Peter Maydell

hw/irq: Add qemu_irq_split() so one GPIO output can feed two inputs

Add a qemu_irq_split() function which allows a board to wire a single
GPIO output up to two GPIO inputs. This is needed for realview boards,
where the MMC card status is visible both in a system register and...

26883c69 03/06/2011 08:01 pm Peter Maydell

hw/realview: Wire up the MMC card status

Instantiate the three PL061 GPIO modules the realview boards have.
Connect the MMC card status outputs of the PL181 MMC controller
to both the system registers and the GPIO module which handles
internal devices.

Signed-off-by: Peter Maydell <>...

b50ff6f5 03/06/2011 08:01 pm Peter Maydell

hw/arm_sysctl.c: Wire MCI register MMC card status bits to GPIO inputs

Implement some GPIO inputs which a board can connect up to set the
MMC card status bits in the MCI register.

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

7063f49f 03/06/2011 08:01 pm Peter Maydell

hw/pl061.c: Implement ARM PL061 as well as Luminary one

ARM's PL061 has a different set of ID registers to the one in the
Luminary Stellaris; implement this so that the Linux driver can
identify the Realview PBX PL061 correctly.

Signed-off-by: Peter Maydell <>...

c31a4724 03/06/2011 08:01 pm Peter Maydell

hw/pl181: Implement GPIO output pins for card status

Add two GPIO output pins to the PL181 model to indicate the card
present and readonly status information. On ARM boards these usually
are reflected in a system register.

Signed-off-by: Peter Maydell <>...

444dd39b 03/06/2011 07:22 pm Stefan Hajnoczi

lsi53c895a: Update dnad when skipping MSGOUT bytes

Update not only dbc but also dnad when skipping bytes during the MSGOUT
phase. Previously only dbc was updated which is probably wrong and
could lead to bogus message codes being read.

Tested on Linux and Windows Server 2003....

219982ef 03/05/2011 03:07 pm Gerhard Wiesinger

hw/pcnet.c: Fix EPROM contents to suit AMD netware drivers

bugfix under DOS for AMD netware driver:
AMD PCNTNW Ethernet MLID v3.10 (960115), network card not found

bugfix works well under DOS with:
1.) AMD NDIS driver v2.0.1
2.) AMD PCNTNW Ethernet MLID v3.10 (960115)...

b46d97f2 03/04/2011 12:33 am Stefan Hajnoczi

virtio-net: Fix lduw_p() pointer argument of wrong size

A pointer to a size_t variable was passed as the void * pointer to
lduw_p() in virtio_net_receive(). Instead of acting on the 16-bit value
this caused failure on big-endian hosts.

Avoid this issue in the future by using stw_p() instead. In general we...

8a231487 03/03/2011 04:13 pm Andrzej Zaborowski

pxa2xx: port pxa2xx_rtc to using qdev/vmstate

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

f114c826 03/03/2011 04:06 pm Andrzej Zaborowski

pxa2xx_dma: Get rid of a forward declaration.

2115c019 03/03/2011 04:04 pm Andrzej Zaborowski

pxa2xx_dma: port to qdev/vmstate

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

47188700 03/03/2011 03:54 pm Dmitry Eremin-Solenikov

vmstate: move VMSTATE_PCIE_AER_ERRS to hw/hw.h

VMSTATE_PCIE_AER_ERRS is indeed useful for other emulation drivers.
Move it to hw/hw.h under the name of VMSTATE_STRUCT_VARRAY_POINTER_UINT16.
Also add VMSTATE_STRUCT_VARRAY_POINTER_INT32 which is more or less...

ee2479d3 03/03/2011 03:50 pm Dmitry Eremin-Solenikov

pxa2xx_dma: drop unused pxa2xx_dma_handler_t/handler field

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

5251d196 03/03/2011 03:24 pm Andrzej Zaborowski

pxa2xx_timer: Store relevant irq line in each timer.

797e9542 03/03/2011 03:14 pm Dmitry Eremin-Solenikov

pxa2xx_timer: switch to using qdev/vmstate

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

d353eb43 03/03/2011 04:45 am Dmitry Eremin-Solenikov

pxa2xx_timer: change info struct name to comply with guidelines

It should be PXA2xxTimerInfo, not pxa2xx_timer_info. Replace all
occurences of old name with the new one.

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

0c69aa70 03/03/2011 04:43 am Andrzej Zaborowski

pxa2xx_pic: Set base address for sysbus device.

Thid device's registration was broken since
e1f8c729fa890c67bb4532f22c22ace6fb0e1aaf, this should fix it.

13801f32 03/03/2011 04:34 am Dmitry Eremin-Solenikov

vmstate: add VMSTATE_STRUCT_ARRAY_TEST

This is a _TEST variant of VMSTATE_STRUCT_ARRAY, necessary e.g.
for future patch changing pxa2xx_timer to use vmstate.

Signed-off-by: Dmitry Eremin-Solenikov <>
Signed-off-by: Andrzej Zaborowski <>

e1f8c729 02/25/2011 01:13 pm Dmitry Eremin-Solenikov

pxa2xx_pic: update to use qdev

Use qdev/sysbus framework to handle pxa2xx-pic. Instead of exposing IRQs
via array, reference them via qdev_get_gpio_in().

Patch has been modified by the committer.

Signed-off-by: Dmitry Eremin-Solenikov <>...

3e1dbc3b 02/25/2011 10:06 am Dmitry Eremin-Solenikov

mst_fpga: correct irq level settings

Final corrections for IRQ levels that are set by mst_fpga:

  • Don't retranslate IRQ if previously IRQ was masked.
  • After setting or clearing IRQs through register, apply mask
    before setting parent IRQ level.

Signed-off-by: Dmitry Eremin-Solenikov <>...

a43f9c90 02/24/2011 07:25 pm Gerd Hoffmann

virtio-serial: kill VirtIOSerialDevice

VirtIOSerialDevice is like VirtIOSerialPort with just the first two
fields, which makes it pretty pointless. Using VirtIOSerialPort
directly works equally well and is less confusing.

[Amit: - rebase
- rename 'dev' to 'port' in function params in virtio-serial.h ]...

fb1ba03a 02/24/2011 09:53 am Peter Maydell

hw/sd.c: Add missing state change for SD_STATUS, SEND_NUM_WR_BLOCKS

The SD_STATUS and SEND_NUM_WR_BLOCKS commands are supposed to cause
the card to send data back to the host. However sd.c was missing the
state change to sd_sendingdata_state for these commands, with the effect...

082e5be8 02/23/2011 01:31 pm Edgar E. Iglesias

pls3adsp1800: Base load_elf endianness on target endianness

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

9a31334f 02/21/2011 05:02 pm Peter Maydell

hw/irq.h: Remove unused SetIRQFunc typedef

Remove the typedef SetIRQFunc, as it is not used by anything.

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

81aa0647 02/21/2011 04:53 pm Aurelien Jarno

Revert "prep: Disable second IDE channel, as long as ISA IDE emulation doesn't support same irq for both channels"

This reverts commit 491e2a338fdf8310c84f6ebaed1683a871a0700e.

ee951a37 02/21/2011 04:46 pm Jan Kiszka

isa-bus: Remove bogus IRQ sharing check

Nothing prevented IRQ sharing on the ISA bus in principle. Not all
boards supported this, neither each and every card nor driver and OS.
Still, there existed valid IRQ sharing scenarios, (at least) two of them
can also be found in QEMU: >2 PC UARTs and the PREP IDE buses....

7096a96d 02/21/2011 04:41 pm Roy Tam

PS/2 keyboard Scancode Set 3 support

The following patch adds PS/2 keyboard Scancode Set 3 support.

Signed-off-by: Roy Tam <>
Signed-off-by: Aurelien Jarno <>