Statistics
| Branch: | Revision:

root / hw @ 81d37739

# Date Author Comment
299aa1c6 02/27/2012 12:13 pm Gerd Hoffmann

usb-hid: fix tablet activation

Activate usb hid pointer devices (mouse+tablet) unconditionally
on polls, even if we NAK the poll due to lack of new events.

Signed-off-by: Gerd Hoffmann <>

81d37739 02/27/2012 12:13 pm Gerd Hoffmann

usb-ehci: fix reset

Two reset fixes: * pick up s->usbcmd value after ehci_reset call to make sure it
keeps the reset value and doesn't get rubbish filled in when
val is written back to the mmio register array later on. * make sure the frame timer is zapped on reset....

45efb161 02/24/2012 09:36 pm Gerd Hoffmann

optimize screendump for the common non-switch case

switch console only if needed, also pass down whenever the console was
switched or not because a displaysurface redraw is only needed in case
the console was switched.

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

9ebe95fb 02/24/2012 09:36 pm Gerd Hoffmann

nic: zap obsolote romloading bits from ne2k + pcnet

These days one just needs to specify the romfile in PCiDeviceInfo and
everything magically works. It also allows to disable pxe rom loading
via "romfile=<emptystring>" like it is possible for all other nics....

6595abc0 02/24/2012 09:36 pm Gerd Hoffmann

suspend: make acpi timer wakeup the guest.

Make the acpi timer wake up the guest.
Guests can enable/disable this via acpi too.

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

9a51f5b0 02/24/2012 09:36 pm Gerd Hoffmann

vga: simplify screendump

The displaychangelistener isn't needed at all, we can simply save the
image when vga_hw_update is done instead of hooking into the update
process.

Signed-off-by: Anthony Liguori <>

16735102 02/24/2012 09:36 pm Gerd Hoffmann

Remove screendump dummy functions.

The code in console.c verifies whenever a screen_dump function
pointer is present before calling it, so there is no need to supply an
dummy function. Remove them. Also report an error to notify the user
that he didn't got a screenshot....

da98c8eb 02/24/2012 09:36 pm Gerd Hoffmann

suspend: switch acpi s3 to new infrastructure.

This patch switches pc s3 suspend over to the new infrastructure.
The cmos_s3 qemu_irq is killed, the new notifier is used instead.
The xen hack goes away with that too, the hypercall can simply be
done in a notifier function now....

fd214d18 02/24/2012 09:36 pm Gerd Hoffmann

suspend: make ps/2 devices wakeup the guest

This patch adds wakeup support to ps/2 emulation. Any key press on the
ps/2 keyboard will wakeup the guest. Likewise any mouse button press
will wakeup the guest. Mouse moves are ignored, so the guest will not...

9826fd59 02/24/2012 09:36 pm Gerd Hoffmann

suspend: make serial ports wakeup the guest.

Add a 'wakeup' property to the serial port. It is off by default. When
enabled any incoming character on the serial line will wake up the
guest. Useful for guests which have a serial console configured.

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

62aeb0f7 02/24/2012 09:36 pm Gerd Hoffmann

suspend: make rtc alarm wakeup the guest.

Make the rtc wake up the guest when the alarm fires.
Add acpi windup to property support RTC_EN, so guests
can enable and disable this.

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

067866d6 02/24/2012 09:36 pm Gerd Hoffmann

acpi: move around structs

Group all structs at the top of hw/acpi.h.
Just moving around lines, no code changes.

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

355bf2e5 02/24/2012 09:36 pm Gerd Hoffmann

acpi: add ACPIREGS

All those acpi structs are not independent from each other.
Various acpi functions expecting multiple acpi structs passed
in are a clean indicator for that ;)

So this patch bundles all acpi structs in the new ACPIREGS
struct, then use it everythere pass around acpi state....

2886be1b 02/24/2012 09:36 pm Gerd Hoffmann

acpi: don't pass overflow_time to acpi_pm1_evt_get_sts

Pretty pointless, can easily be reached via ACPIREGS now.

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

8283c4f5 02/24/2012 09:36 pm Gerd Hoffmann

acpi: add acpi_pm1_evt_write_en

Do APCIREGS->pm1.evt.en updates using the new acpi_pm1_evt_write_en
function, so the acpi code will see those updates.

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

7c1daf34 02/24/2012 05:45 pm Anthony Liguori

Merge remote-tracking branch 'qmp/queue/qmp' into staging

  • qmp/queue/qmp:
    qmp: add DEVICE_TRAY_MOVED event
    ide: drop ide_tray_state_post_load()
    block: Don't call bdrv_eject() if the tray state didn't change
    block: bdrv_eject(): Make eject_flag a real bool...
9ef1300b 02/24/2012 05:33 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/virtio-scsi' into staging

  • bonzini/virtio-scsi:
    scsi-block: always use scsi_generic_ops for cache != none
    scsi: fix searching for an empty id
    scsi: fix wrong return for target INQUIRY
    virtio-scsi: add migration support...
1f51470d 02/24/2012 05:06 pm Markus Armbruster

Revert "qemu-char: Print strerror message on failure" and deps

The commit's purpose is laudable:

The only way for chardev drivers to communicate an error was to
return a NULL pointer, which resulted in an error message that
said that something went wrong, but not why....
06114d72 02/24/2012 03:54 pm Paolo Bonzini

virtio-scsi: process control queue requests

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Paolo Bonzini <>

5db1764c 02/24/2012 03:54 pm Paolo Bonzini

virtio-scsi: add migration support

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Paolo Bonzini <>

9fac25bf 02/24/2012 03:54 pm Paolo Bonzini

scsi: fix wrong return for target INQUIRY

Signed-off-by: Paolo Bonzini <>

d3d250bd 02/24/2012 03:54 pm Paolo Bonzini

scsi: fix searching for an empty id

The conditions for detecting no free target or LUN were wrong.

The LUN loop was followed by an "if" condition that is never
true, because the loop is exited as soon as lun becomes equal
to bus->info->max_lun, and never becomes greater than it....

eaccf49e 02/24/2012 03:54 pm Paolo Bonzini

scsi-block: always use scsi_generic_ops for cache != none

Signed-off-by: Paolo Bonzini <>

bde25388 02/22/2012 09:23 pm Luiz Capitulino

ide: drop ide_tray_state_post_load()

This is used to sync the physical tray state after migration when
using CD-ROM passthrough. However, migrating when using passthrough
is broken anyway and shouldn't be supported...

So, drop this function as it causes a problem with the DEVICE_TRAY_MOVED...

d88b1819 02/22/2012 09:23 pm Luiz Capitulino

block: Don't call bdrv_eject() if the tray state didn't change

It's not needed. Besides we can then assume that bdrv_eject() is
only called when there's a tray state change, which is useful to
the DEVICE_TRAY_MOVED event (going to be added in a future
commit)....

329c0a48 02/22/2012 09:22 pm Luiz Capitulino

block: Rename bdrv_mon_event() & BlockMonEventAction

They are QMP events, not monitor events. Rename them accordingly.

Also, move bdrv_emit_qmp_error_event() up in the file. A new event will
be added soon and it's good to have them next each other.

Signed-off-by: Luiz Capitulino <>...

63b9932d 02/22/2012 05:02 pm Hervé Poussineau

jazz-led: use trace framework

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Anthony Liguori <>

b39506e4 02/22/2012 05:02 pm Hervé Poussineau

jazz-led: convert to QOM

Some simplifications in I/O functions are possible because
Jazz LED only registers one byte of I/O.

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Anthony Liguori <>

90ccf9f6 02/22/2012 05:02 pm Jordan Justen

hw/pc_sysfw: enable pc-sysfw as a qdev

Setup a pc-sysfw device type. It contains a single
property of 'rom_only' which is defaulted to enabled.

Signed-off-by: Jordan Justen <>
Signed-off-by: Anthony Liguori <>

bd183c79 02/22/2012 05:02 pm Jordan Justen

hw/pc_sysfw: support system flash memory with pflash

Flash can be enabled by calling pc_system_firmware_init
with the system_flash_enabled parameter being non-zero.
If system_flash_enabled is zero, then the older qemu
rom creation method will be used.

If flash is enabled and a pflash image is found, then...

ed778c8d 02/22/2012 05:02 pm Jordan Justen

hw/pc_piix: remove is_default for pc-0.15

Signed-off-by: Jordan Justen <>
Signed-off-by: Anthony Liguori <>

382b3a68 02/22/2012 05:02 pm Jordan Justen

hw/pc_piix: add pc-1.1

Signed-off-by: Jordan Justen <>
Signed-off-by: Anthony Liguori <>

1b89fafe 02/22/2012 05:02 pm Jordan Justen

pc_piix/pc_sysfw: enable flash by default

Now, the pc-sysfw:rom_only property will default
to false which enables flash by default.

All pc types below pc-1.1 set rom_only to true.
This prevents flash from being enabled on these
pc machine types.

For pc-1.1 rom_only will use the default (false),...

c9f50cea 02/22/2012 05:02 pm Michael S. Tsirkin

pci: add accessors to get/set registers by mask

pci_regs.h specifies many registers by mask +
shifted register values.
There's always some duplication when using such:
for example to override device type, we would need:

pci_word_test_and_clear_mask(cap + PCI_EXP_FLAGS,...

d5f27e88 02/22/2012 05:02 pm Michael S. Tsirkin

pci: set memory type for memory behind the bridge

As we make upper bits in IO and prefetcheable memory
registers writeable, we should declare support
for 64 bit prefetcheable memory and 32 bit io
in the bridge.

This changes the default for apb, dec, but I'm guessing...

de8efe8f 02/22/2012 05:02 pm Jordan Justen

pflash_cfi01/02: support read-only pflash devices

Signed-off-by: Jordan Justen <>
Signed-off-by: Anthony Liguori <>

2c8cffa5 02/22/2012 05:02 pm Jordan Justen

vl: make find_default_machine externally visible

Signed-off-by: Jordan Justen <>
Signed-off-by: Anthony Liguori <>

cbc5b5f3 02/22/2012 05:02 pm Jordan Justen

hw/pc: move rom init to pc_sysfw.c

Signed-off-by: Jordan Justen <>
Signed-off-by: Anthony Liguori <>

4732dcaf 02/22/2012 03:35 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/qdev-props-for-anthony' into staging

  • bonzini/qdev-props-for-anthony:
    qdev: drop unnecessary parse/print methods
    qdev: use built-in QOM string parser
    qdev: accept hex properties only if prefixed by 0x
    qdev: accept both strings and integers for PCI addresses...
326799c0 02/22/2012 02:40 pm Stefan Hajnoczi

virtio-scsi: Add basic request processing infrastructure

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Paolo Bonzini <>

2ccdcd8d 02/22/2012 02:40 pm Paolo Bonzini

virtio-scsi: add basic SCSI bus operation

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Paolo Bonzini <>

973abc7f 02/22/2012 02:39 pm Stefan Hajnoczi

virtio-scsi: Add virtio-scsi stub device

Add a useless virtio SCSI HBA device:

qemu -device virtio-scsi-pci

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Paolo Bonzini <>

3d5aba97 02/22/2012 02:29 pm Paolo Bonzini

scsi: add scatter/gather functionality

Scatter/gather functionality uses the newly added DMA helpers. The
device can choose between doing DMA itself, or calling scsi_req_data
as usual, which will use the newly added DMA helpers to copy piecewise
to/from the destination area(s)....

5d0d2467 02/22/2012 02:29 pm Paolo Bonzini

scsi-disk: enable scatter/gather functionality

Signed-off-by: Paolo Bonzini <>

63f740dd 02/22/2012 02:29 pm Paolo Bonzini

scsi: add SCSIDevice vmstate definitions

Signed-off-by: Paolo Bonzini <>

56b1fc48 02/22/2012 02:29 pm Paolo Bonzini

scsi-generic: add migration support

Signed-off-by: Paolo Bonzini <>

43b978b9 02/22/2012 02:29 pm Paolo Bonzini

scsi-disk: add migration support

Signed-off-by: Paolo Bonzini <>

da221327 02/22/2012 02:29 pm Paolo Bonzini

ahci: use new DMA helpers

Signed-off-by: Paolo Bonzini <>

01e95455 02/22/2012 02:29 pm Paolo Bonzini

scsi: pass residual amount to command_complete

With the upcoming sglist support, HBAs will not see any transfer_data
call and will not have a way to detect short transfers. So pass the
residual amount of data upon command completion.

Signed-off-by: Paolo Bonzini <>

0c96e285 02/22/2012 09:31 am Paolo Bonzini

qdev: use built-in QOM string parser

object_property_parse lets us drop the legacy setters when their task
is done just as well by the string visitors.

Signed-off-by: Paolo Bonzini <>

5cb9b56a 02/22/2012 09:31 am Paolo Bonzini

qdev: drop unnecessary parse/print methods

More qdev printers could have been removed in the previous series, and
object_property_parse also made several parsers unnecessary. In fact,
the new code is even more robust with respect to overflows, so clean
them up!...

768a9ebe 02/22/2012 09:31 am Paolo Bonzini

qdev: accept both strings and integers for PCI addresses

Visitors allow a limited form of polymorphism. Exploit it to support
setting the non-legacy PCI address property both as a DD.F string
and as an 8-bit integer.

The 8-bit integer form is just too clumsy, it is unlikely that we will...

97aa6e9b 02/22/2012 09:31 am Paolo Bonzini

qdev: accept hex properties only if prefixed by 0x

Hex properties are an obstacle to removal of old qdev string parsing, but
even here we can lay down the foundations for future simplification. In
general, they are rarely used and their printed form is more interesting...

80105bbf 02/21/2012 11:36 am Gerd Hoffmann

qxl: drop vram bar minimum size

There is no reason to require a minimum size of 16 MB for the vram.
Lower the limit to 4096 (one page). Make it disapper completely would
break guests.

a974192c 02/21/2012 11:36 am Gerd Hoffmann

qxl: move ram size init to new function

Factor memory bar sizing bits out to a separate function.

Signed-off-by: Gerd Hoffmann <>

017438ee 02/21/2012 11:36 am Gerd Hoffmann

qxl: add user-friendly bar size properties

Add two properties to specify bar sizes in megabytes instead of bytes,
which is alot more user-friendly.

Signed-off-by: Gerd Hoffmann <>

f4a8a424 02/21/2012 11:36 am Gerd Hoffmann

qxl: fix warnings on 32bit

Signed-off-by: Gerd Hoffmann <>

7844e448 02/21/2012 11:36 am Gerd Hoffmann

qxl: don't render stuff when the vm is stopped.

This patch fixes the local qxl renderer to not kick spice-server
in case the vm is stopped. First it is largely pointless because
we ask spice-server to process all not-yet processed commands when
the vm is stopped, so there isn't much do do anyway. Second we...

e25139b3 02/21/2012 11:36 am Yonit Halperin

qxl: set only off-screen surfaces dirty instead of the whole vram

We used to assure the guest surfaces were saved before migration by
setting the whole vram dirty. This patch sets dirty only the areas
that are actually used in the vram.

Signed-off-by: Yonit Halperin <>...

2aa9e85c 02/21/2012 11:36 am Yonit Halperin

qxl: make sure primary surface is saved on migration also in compat mode

RHBZ #790083

Signed-off-by: Yonit Halperin <>
Signed-off-by: Gerd Hoffmann <>

61b7b67d 02/17/2012 05:58 pm Jan Kiszka

i8254: Do not raise IRQ level on reset

Avoid changing the IRQ level to high on reset as it may trigger spurious
events. Instead, open-code the effects of pit_load_count(0) in the reset
handler.

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

5904ae4e 02/17/2012 05:58 pm Jan Kiszka

hpet: Save/restore cached RTC IRQ level

In legacy mode, the HPET suppresses the RTC interrupt delivery via IRQ
8 but keeps track of the RTC output level and applies it when legacy
mode is turned off again. This value has to be preserved across save/
restore as it cannot be reconstructed otherwise....

b1277b03 02/17/2012 05:58 pm Jan Kiszka

i8254: Factor out interface header

Move the public interface of the PIT into its own header file and update
all users.

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

319ba9f5 02/17/2012 05:58 pm Jan Kiszka

i8254: Pass alternative IRQ output object on initialization

HPET legacy emulation will require control over the PIT IRQ output. To
enable this, add support for an alternative IRQ output object to the PIT
factory function. If the isa_irq number is < 0, this object will be...

ce967e2f 02/17/2012 05:58 pm Jan Kiszka

i8254: Rework & fix interaction with HPET in legacy mode

When the HPET enters legacy mode, the IRQ output of the PIT is
suppressed and replaced by the HPET timer 0. But the current code to
emulate this was broken in many ways. It reset the PIT state after...

302fe51b 02/17/2012 05:58 pm Jan Kiszka

pcspk: Convert to qdev

Convert the PC speaker device to a qdev ISA model. Move the public
interface to a dedicated header file at this chance.

CC: Paolo Bonzini <>
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

4aa5d285 02/17/2012 05:58 pm Jan Kiszka

i8254: Factor out pit_get_channel_info

Instead of providing 4 individual query functions for mode, gate, output
and initial counter state, introduce a service that queries all
information at once. This comes with tiny additional costs for
pcspk_callback but with a much cleaner interface. Also, it will simplify...

aa24822b 02/17/2012 05:58 pm Jan Kiszka

i8259: Do not clear level-triggered lines in IRR on init

When an input line is handled as level-triggered, it will immediately
raise an IRQ on the output of a PIC again that goes through an init
reset. So only clear the edge-triggered inputs from IRR in that...

4ed658ca 02/17/2012 05:58 pm Andreas Färber

qdev: Fix qdev_try_create() semantics

Since QOM'ification, qdev_try_create() uses object_new() internally,
which asserts "type != NULL" when the type is not registered.
This was revealed by the combination of kvmclock's kvm_enabled() check
and early QOM type registration....

3d7f5721 02/17/2012 02:50 pm Anthony Liguori

Merge remote-tracking branch 'pmaydell/arm-devs.for-upstream' into staging

  • pmaydell/arm-devs.for-upstream: (22 commits)
    hw/pl031: Actually raise interrupt on timer expiry
    MAINTAINERS: Add hw/highbank.c maintainer
    Remove unnecessary includes of primecell.h...
a19255a3 02/17/2012 02:48 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches' into staging

  • stefanha/trivial-patches:
    linux-user: brk() debugging
    virtio: Remove unneeded g_free() check in virtio_cleanup()
    net: remove extra spaces in help messages
    fmopl: Fix typo in function name...
13a16f1d 02/17/2012 01:13 pm Peter Maydell

hw/pl031: Actually raise interrupt on timer expiry

Fix a typo in pl031_interrupt() which meant we were setting a bit
in the interrupt mask rather than the interrupt status register
and thus not actually raising an interrupt. This fix allows the
rtctest program from the kernel's Documentation/rtc.txt to pass...

22168e66 02/17/2012 01:13 pm Peter Maydell

Remove unnecessary includes of primecell.h

The primecell.h header now only has the definitions of constants
indicating the usage of the arm_sysctl GPIO lines; remove obsolete
includes of it from source files which don't care about those GPIO
lines.

Signed-off-by: Peter Maydell <>

2a957703 02/17/2012 01:13 pm Peter Maydell

hw/primecell.h: Remove obsolete pl080_init() declaration

Remove an obsolete declaration of pl080_init(), which has been
incorrect since the conversion of pl080 to qdev back in 2009.

Signed-off-by: Peter Maydell <>

54de1e5b 02/17/2012 01:13 pm Peter Maydell

hw/arm_sysctl: Drop legacy init function

Drop the legacy init function arm_sysctl_init(), since it has no
users left any more. This allows us to drop the awkward '1' from
the actual device init function.

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

961f195e 02/17/2012 01:13 pm Peter Maydell

hw/vexpress.c: Add vexpress-a15 machine

Add the vexpress-a15 machine, and the A-Series memory map it uses.

Signed-off-by: Peter Maydell <>
Reviewed-by: Andreas Färber <>

96eacf64 02/17/2012 01:13 pm Peter Maydell

arm_boot: Pass base address of GIC CPU interface, not whole GIC

The arm_boot secondary boot loader code needs the address of
the GIC CPU interface. Obtaining this from the base address
of the private peripheral region was possible for A9 and 11MPcore,
but the A15 puts the GIC CPU interface in a different place....

b7206878 02/17/2012 01:13 pm Peter Maydell

hw/vexpress.c: Instantiate the motherboard CLCD

Instantiate the CLCD on the vexpress motherboard as well as one on
the daughterboard -- the A15 daughterboard does not have a CLCD
and so relies on the motherboard one.

At the moment QEMU doesn't provide infrastructure for selecting...

4c3b29b8 02/17/2012 01:13 pm Peter Maydell

hw/vexpress.c: Factor out daughterboard-specific initialization

Factor out daughterboard specifics into a data structure and
daughterboard initialization function, in preparation for adding
vexpress-a15 support.

Signed-off-by: Peter Maydell <>

aac1e02c 02/17/2012 01:13 pm Peter Maydell

hw/vexpress.c: Move secondary CPU boot code to SRAM

On real Versatile Express hardware, the boot ROM puts the secondary
CPU bootcode/holding pen in SRAM. We can therefore rely on Linux not
trashing this memory until secondary CPUs have booted up, and can...

2558e0a6 02/17/2012 01:13 pm Peter Maydell

hw/vexpress.c: Make motherboard peripheral memory map table-driven

Pull the addresses used for mapping motherboard peripherals into
memory out into a table. This will allow us to simply provide a
second table to implement the "Cortex-A Series" memory map used by...

5d782e08 02/17/2012 01:13 pm Peter Maydell

hw/a15mpcore.c: Add Cortex-A15 private peripheral model

Add a model of the Cortex-A15 memory mapped private peripheral
space. This is fairly simple because the only memory mapped
bit of the A15 is the GIC.

Note that we don't currently model a VGIC and therefore don't...

30628cb1 02/17/2012 01:13 pm Mitsyanko Igor

Exynos4210: added display controller implementation

Exynos4210 display controller (FIMD) has 5 hardware windows with alpha and
chroma key blending functions.

Signed-off-by: Mitsyanko Igor <>
Signed-off-by: Evgeny Voevodin <>...

2c2c6496 02/17/2012 01:13 pm Evgeny Voevodin

hw/exynos4210.c: Add LAN support for SMDKC210.

SMDKC210 uses lan9215 chip, but lan9118 in 16-bit mode seems to
be enough.

Signed-off-by: Evgeny Voevodin <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Peter Maydell <>

1248f8d4 02/17/2012 01:13 pm Evgeny Voevodin

hw/lan9118: Add basic 16-bit mode support.

Signed-off-by: Evgeny Voevodin <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Peter Maydell <>

12c775db 02/17/2012 01:13 pm Evgeny Voevodin

ARM: exynos4210: MCT support.

Signed-off-by: Evgeny Voevodin <>
Signed-off-by: Peter Maydell <>

df91b48f 02/17/2012 01:13 pm Maksim Kozlov

ARM: exynos4210: basic Power Management Unit implementation

Patch adds basic model for Exynos4210 SoC PMU.
This model implements PMU registers just as a bulk of memory. Currently,
the only reason this device exists is that secondary CPU boot loader
uses PMU INFORM5 register as a holding pen....

62db8bf3 02/17/2012 01:13 pm Evgeny Voevodin

ARM: exynos4210: PWM support.

Signed-off-by: Evgeny Voevodin <>
Signed-off-by: Peter Maydell <>

e5a4914e 02/17/2012 01:13 pm Maksim Kozlov

ARM: exynos4210: UART support

Add basic support of exynos4210 UART

Signed-off-by: Maksim Kozlov <>
Signed-off-by: Evgeny Voevodin <>
Signed-off-by: Peter Maydell <>

0caa7113 02/17/2012 01:12 pm Evgeny Voevodin

ARM: Samsung exynos4210-based boards emulation

Add initial support of NURI and SMDKC210 boards

Signed-off-by: Evgeny Voevodin <>
Signed-off-by: Peter Maydell <>

8e03cf1e 02/17/2012 01:12 pm Evgeny Voevodin

ARM: exynos4210: IRQ subsystem support.

Signed-off-by: Evgeny Voevodin <>
Signed-off-by: Peter Maydell <>

761c9eb0 02/17/2012 09:30 am Stefan Weil

hw/arm: Remove redundant arguments from set_kernel_args*

The parameters initrd_size and base are already included
in the info parameter, so there is no need to pass them
separately.

Signed-off-by: Stefan Weil <>
Signed-off-by: Andrzej Zaborowski <>,

4f56da61 02/17/2012 09:25 am Vasily Khoruzhick

pxa2xx_lcd: SRAM is valid location for the framebuffer

Signed-off-by: Vasily Khoruzhick <>
Signed-off-by: Andrzej Zaborowski <>

dd4427a6 02/17/2012 08:42 am Paolo Bonzini

nseries: attach monitor powerdown request to menelaus

I noticed some unused code in the twl92230, probably from before
qdev-ification. This patch makes the machine use the chip's pwrbtn
signal.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Andrzej Zaborowski <>

6c263e26 02/16/2012 02:41 am Anthony Liguori

Merge remote-tracking branch 'qemu-kvm/uq/master' into staging

  • qemu-kvm/uq/master:
    apic: Fix legacy vmstate loading for KVM
    kvm: Implement kvm_irqchip_in_kernel like kvm_enabled
    kvm: Allow to set shadow MMU size
7718564b 02/16/2012 01:25 am Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.38' into staging

  • kraxel/usb.38: (28 commits)
    xhci: handle USB_RET_NAK
    xhci: remote wakeup support
    xhci: kill port arg from xhci_setup_packet
    xhci: stop on errors
    xhci: add trb type name lookup support....
65b31cc2 02/16/2012 01:18 am Anthony Liguori

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

  • kwolf/for-anthony:
    AHCI: Masking of IRQs actually masks them
    sheepdog: fix co_recv coroutine context
    AHCI: Fix port reset race
    rewrite QEMU_BUILD_BUG_ON
    qcow2: Keep unknown header extension when rewriting header...
83f7d43a 02/15/2012 05:39 pm Andreas Färber

qom: Unify type registration

Replace device_init() with generalized type_init().

While at it, unify naming convention: type_init([$prefix_]register_types)
Also, type_init() is a function, so add preceding blank line where
necessary and don't put a semicolon after the closing brace....

b2d4b3f7 02/15/2012 05:39 pm Anthony Liguori

device_add: don't add a /peripheral link until init is complete

Otherwise we end up with a dangling reference which causes qdev_free() to fail.

Reported-by: Michael Tsirkin <>
Signed-off-by: Anthony Liguori <>

59f971d4 02/14/2012 08:57 pm Paolo Bonzini

qdev: print error message before aborting

qdev_prop_set_* functions are always called by machine init functions
that should know what they're doing, so they abort on error. Still,
an assert(!errp) does not aid debugging. Print an error before aborting....