Statistics
| Branch: | Revision:

root / hw / input @ f53f81e0

# Date Author Comment
933069eb 02/14/2014 05:22 pm Andreas Färber

lm832x: QOM'ify

Replace usages of FROM_I2C_SLAVE() and direct parent field accesses with
QOM cast macro. Rename parent field.

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

c06f13c6 01/09/2014 09:24 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/tags/qom-devices-for-anthony' into staging

QOM infrastructure fixes and device conversions

  • QOM interface fixes and unit test
  • Device no_user sanitization and documentation
  • Device error reporting improvement
  • Conversion of APIC, ICC, IOAPIC to QOM realization model...
52975c31 01/01/2014 04:03 pm Stefan Weil

pxa27x: Add 'const' attribute to keyboard maps

The mapping is a hardware feature, so it is relatively constant.

Signed-off-by: Stefan Weil <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Michael Tokarev <>

f3b17640 12/23/2013 01:27 am Markus Armbruster

isa: Clean up use of cannot_instantiate_with_device_add_yet

Drop it when there's no obvious reason why device_add could not work.
Else keep and document why.

  • isa-fdc: drop
  • i8042: drop, even though its I/O base is hardcoded (because you
    could conceivably still add one to a board that has none), and even...
efec3dd6 12/23/2013 01:27 am Markus Armbruster

qdev: Replace no_user by cannot_instantiate_with_device_add_yet

In an ideal world, machines can be built by wiring devices together
with configuration, not code. Unfortunately, that's not the world we
live in right now. We still have quite a few devices that need to be...

40daca54 08/22/2013 08:14 pm Alex Bligh

aio / timers: Rearrange timer.h & make legacy functions call non-legacy

Rearrange timer.h so it is in order by function type.

Make legacy functions call non-legacy functions rather than vice-versa.

Convert cpus.c to use new API.

Signed-off-by: Alex Bligh <>...

bc72ad67 08/22/2013 08:14 pm Alex Bligh

aio / timers: Switch entire codebase to the new timer API

This is an autogenerated patch using scripts/switch-timer-api.

Switch the entire code base to using the new timer API.

Note this patch may introduce some line length issues.

Signed-off-by: Alex Bligh <>...

e93379b0 08/22/2013 04:58 pm Alex Bligh

aio / timers: Rename qemu_timer_* functions

Rename four functions in preparation for new API.

Rename qemu_timer_expired to timer_expired
Rename qemu_timer_expire_time_ns to timer_expire_time_ns
Rename qemu_timer_pending to timer_pending
Rename qemu_timer_expired_ns to timer_expired_ns...

2a052f6b 07/29/2013 10:06 pm Andreas Färber

milkymist-softusb: QOM cast cleanup

Signed-off-by: Andreas Färber <>

e607f25a 07/29/2013 10:06 pm Andreas Färber

pl050: Rename pl050_state to PL050State

Signed-off-by: Andreas Färber <>

3e5dd364 07/29/2013 10:06 pm Andreas Färber

pl050: QOM'ify pl050_keyboard and pl050_mouse

Introduce an abstract type pl050 and let pl050_keyboar and pl050_mouse
inherit from it, using different instance_init functions.
Introduce a type constant and use QOM casts.

Signed-off-by: Andreas Färber <>

1437c94b 07/04/2013 06:42 pm Paolo Bonzini

hw/i*: pass owner to memory_region_init* functions

Signed-off-by: Paolo Bonzini <>

2c9b15ca 07/04/2013 06:42 pm Paolo Bonzini

memory: add owner argument to initialization functions

Signed-off-by: Paolo Bonzini <>

db895a1e 06/07/2013 01:14 pm Andreas Färber

isa: Use realizefn for ISADevice

Drop ISADeviceClass::init and the resulting no-op initfn and let
children implement their own realizefn. Adapt error handling.
Split off an instance_init where sensible.

Signed-off-by: Andreas Färber <>

e3b7fbea 04/29/2013 04:27 pm Andreas Färber

vmmouse: QOM'ify

Introduce type constant and cast macro to obsolete DO_UPCAST() and
container_of(). Prepares for ISA realizefn.

Remove reserved underscore from struct name while at it.

Signed-off-by: Andreas Färber <>
Signed-off-by: Andreas Färber <>...

a2e0b863 04/29/2013 04:27 pm Andreas Färber

pckbd: QOM'ify

Introduce type constant and cast macro to obsolete DO_UPCAST().

Prepares for ISA realizefn.

Signed-off-by: Andreas Färber <>
Signed-off-by: Andreas Färber <>
Message-id: ...

5a37532d 04/24/2013 07:50 pm Gerd Hoffmann

input: introduce keyboard handler list

Add a linked list of keyboard handlers. Added handlers will go
to the head of the list. Removed handlers will be zapped from
the list. The head of the list will be used for events.

This fixes the keyboard-dead-after-usb-kbd-unplug issue, key events...

bd2be150 04/15/2013 04:16 pm Peter Maydell

arm: fix location of some include files

The recent rearrangement of include files had some minor errors:
devices.h is not ARM specific and should not be in arm/
arm.h should be in arm/

Move these two headers to correct this.

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

3bd88451 04/08/2013 07:13 pm Paolo Bonzini

hw: move timer devices to hw/timer/, configure with default-configs/

Signed-off-by: Paolo Bonzini <>

49ab747f 04/08/2013 07:13 pm Paolo Bonzini

hw: move target-independent files to subdirectories

This patch tackles all files that are compiled once, moving
them to subdirectories of hw/.

Signed-off-by: Paolo Bonzini <>

1fd6bb44 04/08/2013 07:13 pm Paolo Bonzini

hw: make subdirectories for devices

Prepare the new directory structure.

Signed-off-by: Paolo Bonzini <>