Statistics
| Branch: | Revision:

root / hw @ 10a584b2

# Date Author Comment
eec3d2ad 04/30/2013 06:30 pm Hu Tao

introduce a new qom device to deal with panicked event

pvpanic device is used to send guest panic event from guest to qemu.

When guest panic happens, pvpanic device driver will write a event
number to IO port 0x505(which is the IO port occupied by pvpanic device,...

10a584b2 04/30/2013 06:30 pm Hu Tao

pvpanic: pass configurable ioport to seabios

This lets seabios patch the corresponding SSDT entry.

Also add fw_cfg object to /machine/fw_cfg so we can reference
it elsewhere.

Signed-off-by: Hu Tao <>
Reviewed-by: Markus Armbruster <>...

cffc5113 04/30/2013 05:52 pm Jan Kiszka

qdev: Report errors collected during device realization

Better than just releasing the error object silently.

Signed-off-by: Jan Kiszka <>
Reviewed-by: Andreas Färber <>
Message-id:
Signed-off-by: Anthony Liguori <>

b7da6c60 04/30/2013 05:34 pm Paolo Bonzini

pc_piix: remove undesired change in pc_init1

Introduced when applying commit f81222b (audio: look for the ISA and
PCI buses, 2013-04-18).

Signed-off-by: Paolo Bonzini <>
Message-id: ...

b3e6d591 04/29/2013 08:17 pm Paolo Bonzini

audio: enable PCI audio cards for all PCI-enabled targets

Signed-off-by: Paolo Bonzini <>
Message-id:
Signed-off-by: Anthony Liguori <>

f81222bc 04/29/2013 08:16 pm Paolo Bonzini

audio: look for the ISA and PCI buses

Signed-off-by: Paolo Bonzini <>
Message-id:
Signed-off-by: Anthony Liguori <>

98af93fd 04/29/2013 08:16 pm Paolo Bonzini

audio: replace audio card configuration with default-configs

Signed-off-by: Paolo Bonzini <>
Message-id:
Signed-off-by: Anthony Liguori <>

8c444a19 04/29/2013 08:16 pm Paolo Bonzini

adlib: qdev-ify

Signed-off-by: Paolo Bonzini <>
Message-id:
Signed-off-by: Anthony Liguori <>

36cd6f6f 04/29/2013 08:16 pm Paolo Bonzini

audio: remove the need for audio card CONFIG_* symbols

Signed-off-by: Paolo Bonzini <>
Message-id:
Signed-off-by: Anthony Liguori <>

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 <>...

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

vmport: QOM'ify

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

Drop reserved underscore from struct name while at it.

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

61e477f4 04/29/2013 04:27 pm Andreas Färber

wdt_ib700: 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: ...

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

serial: QOM'ify ISA serial

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: ...

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

sga: QOM'ify

Introduce type constant and cast macro.

Prepares for ISA realizefn.

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

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

vga-isa: QOM'ify ISA VGA

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

Unify function naming scheme while at it.

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

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

m48t59: QOM'ify ISA M48T59 NVRAM

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

Prepares for ISA realizefn.

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

0e41271e 04/29/2013 04:27 pm Andreas Färber

mc146818rtc: QOM'ify

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

Prepares for ISA realizefn.

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

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

ne2000-isa: 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: ...

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

parallel: 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: ...

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

pc: QOM'ify port 92

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: ...

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: ...

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

pcspk: 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: ...

399f05a6 04/29/2013 04:27 pm Andreas Färber

sb16: 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: ...

6d4c2f17 04/29/2013 04:27 pm Andreas Färber

cirrus_vga: QOM'ify ISA Cirrus VGA

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: ...

020c8e76 04/29/2013 04:27 pm Andreas Färber

fdc: QOM'ify ISA floppy controller

Introduce type constant and cast macro to obsolete DO_UPCAST().
Reuse type constant for PC machine compatibility settings.

Prepares for ISA realizefn.

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

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

i82374: 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: ...

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

i8259: QOM cleanups

Eliminate DO_UPCAST() for PICCommonState. Prepares for ISA realizefn.

Also give the i8259_common type registration functions unique names
while at it.

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

2f12688b 04/29/2013 04:27 pm Andreas Färber

ide: QOM'ify ISA IDE

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

Prepares for ISA realizefn.

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

82407b6c 04/29/2013 04:27 pm Andreas Färber

applesmc: QOM'ify

Add a typedef for the state struct and rename from Status to State.
Add 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 <>...

ec57db16 04/29/2013 04:27 pm Jason Wang

virtio-net: unbreak the minix guest

Multiqueue patchset conditionally add control vq only when guest negotiate the
feature. Though the spec is not clear on this but it breaks the minix guest
since it will identify the ctrl vq even if it does not support it. Though this...

45dddd90 04/29/2013 04:26 pm Anthony Liguori

Merge remote-tracking branch 'alon/libcacard_ccid.2' into staging

  1. By Cole Robinson
  2. Via Alon Levy
    • alon/libcacard_ccid.2:
      ccid: Fix crash when backend isn't specified

Message-id:
Signed-off-by: Anthony Liguori <>

903ce9fe 04/27/2013 02:13 pm Artyom Tarasenko

sparc64: use direct interrupt mapping for PCI devices

Every PCI Slot in PBM has 4 directly mapped IRQ lines.
Use the IRQ routing schema 0bssnn (Bus, Slot, interrupt Number)
described in Section 19.3.3 of UltraSPARC™-IIi User's Manual.

Please note that this patch requires the OpenBIOS counterpart patch....

9625036d 04/27/2013 01:35 pm Artyom Tarasenko

sparc64: fix loosing interrupts

- clear interrupts only on writing to the interrupt clear registers
- don't overwrite a currently active interrupt request
- use the correct addresses for the interrupt clear registers
(section 19.3.3.3 of the UltraSPARC™-IIi User’s Manual)...

852e82f3 04/27/2013 01:35 pm Artyom Tarasenko

sparc64: allow 64 IRQ lines

According to UltraSPARC™-IIi User’s Manual, PBM has 64 IRQ lines.

Signed-off-by: Artyom Tarasenko <>
Signed-off-by: Blue Swirl <>

ae12e3a6 04/27/2013 02:38 am Cole Robinson

ccid: Fix crash when backend isn't specified

Reproducer:

./x86_64-softmmu/qemu-system-x86_64 -device usb-ccid,id=ccid0 -usb -device ccid-card-emulated -monitor stdio

Signed-off-by: Cole Robinson <>
Reviewed-by: Alon Levy <>

076bfd7c 04/27/2013 01:33 am Aurelien Jarno

Merge branch 'ppc-for-upstream' of git://github.com/agraf/qemu

  • 'ppc-for-upstream' of git://github.com/agraf/qemu: (30 commits)
    target-ppc: add support for extended mtfsf/mtfsfi forms
    target-ppc: emulate store doubleword pair instructions
    target-ppc: emulate load doubleword pair instructions...
c4eda5b7 04/27/2013 12:02 am David Gibson

pseries: Generate device paths for VIO devices

This patch implements a get_dev_path qdev hook for the pseries paravirtual
VIO bus. With upcoming savevm support, this will become very important for
scsi disks hanging of VIO virtual SCSI adapters. scsibus_get_dev_path...

20f649dd 04/27/2013 12:02 am Alexander Graf

PPC: mac newworld: fix cpu NIP reset value

On -M mac99, we can run 970 CPUs. However, these CPUs define the initial
instruction pointer they start execution at as part of their bootup protocol,
so effectively it's up to the board to decide where they start....

0cbad81f 04/27/2013 12:02 am David Gibson

pseries: Fixes and enhancements to L1 cache properties

PAPR requires that the device tree's CPU nodes have several properties
with information about the L1 cache. We already create two of these
properties, but with incorrect names - "[id]cache-block-size" instead...

e03c902c 04/27/2013 12:02 am David Gibson

pseries: Fix some small errors in XICS logic

Under certain circumstances the emulation for the pseries "XICS" interrupt
controller was clearing a pending interrupt from the XISR register, without
also clearing the corresponding priority variable. This will cause...

fd506b4f 04/27/2013 12:02 am David Gibson

pseries: Convert VIO code to QOM style type safe(ish) casts

Curerntly the pseries VIO device code contains quite a few explicit
uses of DO_UPCAST and plain C casts. This is (obviously) type unsafe,
and not the conventional way of doing things in the QOM model. This...

3b961124 04/27/2013 12:02 am Stuart Yoder

PPC: e500: advertise 4.2 MPIC only if KVM supports EPR

Older KVM versions don't support EPR which breaks guests when we announce
MPIC variants that support EPR.

Catch that case and expose only MPIC version 2.0 which tells the guest that
we don't support the EPR capability yet....

2cf3eb6d 04/27/2013 12:02 am Fabien Chouteau

PPC: Remove env->hreset_excp_prefix

This value is not needed if we use correctly the MSR[IP] bit.

excp_prefix is always 0x00000000, except when the MSR[IP] bit is
implemented and set to 1, in that case excp_prefix is 0xfff00000.

The handling of MSR[IP] was already implemented but not used at reset...

31f2cb8f 04/27/2013 12:02 am Bharat Bhushan

Enable kvm emulated watchdog

Enable the KVM emulated watchdog if KVM supports (use the
capability enablement in watchdog handler). Also watchdog exit
(KVM_EXIT_WATCHDOG) handling is added.
Watchdog state machine is cleared whenever VM state changes to running....

75f6e8b0 04/26/2013 09:18 pm KONRAD Frederic

virtio-rng-s390: add properties.

I don't see any reason why these properties are missing.

Signed-off-by: KONRAD Frederic <>

Note: Need to apply virtio-rng-refactoring first!
Acked-by: Cornelia Huck <>
Signed-off-by: Alexander Graf <>

d0249ce5 04/26/2013 09:18 pm Alexander Graf

S390: IPL: Use different firmware for different machines

We have a virtio-s390 and a virtio-ccw machine in QEMU. Both use vastly
different ways to do I/O. Having the same firmware blob for both doesn't
really make any sense.

Instead, let's parametrize the firmware file name, so that we can have...

ba747cc8 04/26/2013 09:18 pm Alexander Graf

S390: CCW: Use new, working firmware by default

Since we now have working firmware for s390-ccw in the tree, we can
default to it on our s390-ccw machine, rendering it more useful.

Signed-off-by: Alexander Graf <>

74ad2d22 04/26/2013 09:18 pm Alexander Graf

S390: Make IPL reset address dynamic

We can have different load addresses for different blobs we boot with.
Make the reset IP dynamic, so that we can handle things more flexibly.

Signed-off-by: Alexander Graf <>

33259956 04/26/2013 09:18 pm Alexander Graf

S390: IPL: Support ELF firmware

Our firmware blob is always a raw file that we load at a fixed address today.
Support loading an ELF blob instead that we can map high up in memory.

This way we don't have to be so conscious about size constraints.

Signed-off-by: Alexander Graf <>

b702d2ae 04/26/2013 02:23 pm Ed Maste

virtio: Fix compilation without CONFIG_VHOST_SCSI

Signed-off-by: Ed Maste <>
Signed-off-by: Stefan Hajnoczi <>

95be0669 04/25/2013 10:45 pm Gerd Hoffmann

console: qom-ify QemuConsole

Just the minimal bits to turn QemuConsoles into Objects.

Signed-off-by: Gerd Hoffmann <>

aa2beaa1 04/25/2013 10:45 pm Gerd Hoffmann

console: add device link to QemuConsoles

So it is possible to figure which qemu console displays which device.

Signed-off-by: Gerd Hoffmann <>

5209089f 04/25/2013 10:45 pm Gerd Hoffmann

console: zap ds arg from register_displaychangelistener

We don't have multiple DisplayStates any more,
so passing it in as argument is not needed.

Signed-off-by: Gerd Hoffmann <>

7c486976 04/25/2013 11:43 am Cornelia Huck

virtio-ccw: Check indicators location.

If a guest neglected to register (secondary) indicators but still runs
with notifications enabled, we might end up writing to guest zero;
avoid this by checking for valid indicators and only writing to the
guest and generating an interrupt if indicators have been setup....

9953f882 04/24/2013 09:23 pm Markus Armbruster

pc: Kill the "use flash device for BIOS unless KVM" misfeature

Use of a flash memory device for the BIOS was added in series "[PATCH
v10 0/8] PC system flash support", commit 4732dca..1b89faf, v1.1.

Flash vs. ROM is a guest-visible difference. Thus, flash use had to...

36afbc51 04/24/2013 09:23 pm Markus Armbruster

pc: Inline pc_init_pci_1_3() into pc_init_pci_1_2()

Just to make the commit after next easier to review.

Signed-off-by: Markus Armbruster <>
Message-id:
Signed-off-by: Anthony Liguori <>

6fd028f6 04/24/2013 09:23 pm Markus Armbruster

pc: Split pc_init_pci_1_0() off pc_init_pci_1_2()

Just to make the next commit easier to review.

Signed-off-by: Markus Armbruster <>
Message-id:
Signed-off-by: Anthony Liguori <>

1bfffe21 04/24/2013 09:23 pm Anthony Liguori

Merge remote-tracking branch 'alon/libcacard_ccid.1' into staging

  1. By Alon Levy (15) and others
  2. Via Alon Levy
    • alon/libcacard_ccid.1: (28 commits)
      libcacard/cac: change big switch functions to single return point
      dev-smartcard-reader: empty implementation for Mechanical (fail correctly)...
6a1a8cc7 04/24/2013 07:50 pm KONRAD Frederic

virtio: cleanup: init and exit function.

This clean the init and the exit functions and rename virtio_common_cleanup
to virtio_cleanup.

Signed-off-by: KONRAD Frederic <>
Message-id: ...

611aa333 04/24/2013 07:50 pm KONRAD Frederic

virtio-rng: cleanup: use QOM casts.

As the virtio-rng-pci, virtio-rng-s390 and virtio-rng-ccw are
switched to the new API, we can use QOM casts.

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

5d448f9d 04/24/2013 07:50 pm KONRAD Frederic

virtio-bus: add new functions.

This add two functions: * virtio_bus_set_vdev_config. * virtio_bus_set_vdev_feature.

Needed by virtio-ccw.

Signed-off-by: KONRAD Frederic <>
Message-id: ...

d51fcfac 04/24/2013 07:50 pm KONRAD Frederic

virtio-bus: make virtio_x_bus_new static.

virtio_x_bus_new are only used in file scope.
So this make them static.

Signed-off-by: KONRAD Frederic <>
Message-id:
Signed-off-by: Anthony Liguori <>

a2f1078b 04/24/2013 07:50 pm KONRAD Frederic

virtio-pci: cleanup.

This remove the init, exit functions as they are no longer used.

Signed-off-by: KONRAD Frederic <>
Message-id:
Signed-off-by: Anthony Liguori <>

181103cd 04/24/2013 07:50 pm KONRAD Frederic

virtio: remove the function pointer.

This remove the function pointer in VirtIODevice, and use only
VirtioDeviceClass function pointer.

Signed-off-by: KONRAD Frederic <>
Message-id: ...

1c819449 04/24/2013 07:50 pm KONRAD Frederic

virtio: remove virtiobindings.

This remove virtio-bindings, and use class instead.

Signed-off-by: KONRAD Frederic <>
Message-id:
Signed-off-by: Anthony Liguori <>

af1a8ad6 04/24/2013 07:50 pm KONRAD Frederic

virtio-rng: don't use pointer for configuration.

The configuration field must not be a pointer as it will be used for
virtio-rng properties. So *conf is replaced by conf.

Signed-off-by: KONRAD Frederic <>
Tested-by: Cornelia Huck <>...

6eac8aec 04/24/2013 07:50 pm KONRAD Frederic

virtio-rng: add virtio-rng device.

Create virtio-rng-device which extends virtio-device, so it can be connected on
virtio-bus.

Signed-off-by: KONRAD Frederic <>
Tested-by: Cornelia Huck <>
Acked-by: Amit Shah <>...

59ccd20a 04/24/2013 07:50 pm KONRAD Frederic

virtio-rng-pci: switch to the new API.

Here the virtio-rng-pci is modified for the new API. The device
virtio-rng-pci extends virtio-pci. It creates and connects a virtio-rng-device
during the init. The properties are not changed.

The virtio_pci_reset function, is removed as no longer used....

0bca1f53 04/24/2013 07:50 pm KONRAD Frederic

virtio-rng-s390: switch to the new API.

Here the virtio-rng-s390 is modified for the new API. The device
virtio-rng-s390 extends virtio-s390-device as before. It creates and
connects a virtio-rng during the init. The properties are not modified.

Signed-off-by: KONRAD Frederic <>...

2db26d4c 04/24/2013 07:50 pm KONRAD Frederic

virtio-rng-ccw: switch to the new API.

Here the virtio-rng-ccw is modified for the new API. The device
virtio-rng-pci extends virtio-pci. It creates and connects a virtio-rng-device
during the init. The properties are not changed.

Signed-off-by: KONRAD Frederic <>...

46a5a89d 04/24/2013 07:50 pm KONRAD Frederic

virtio-rng: cleanup: init and exit functions.

This remove old init and exit function as they are no longer needed.

Signed-off-by: KONRAD Frederic <>
Tested-by: Cornelia Huck <>
Acked-by: Amit Shah <>...

65f3b678 04/24/2013 07:50 pm KONRAD Frederic

virtio-rng: cleanup: remove qdev field.

The qdev field is no longer needed, just drop it.

Signed-off-by: KONRAD Frederic <>
Tested-by: Cornelia Huck <>
Acked-by: Amit Shah <>
Message-id: ...

a3ac6b53 04/24/2013 07:50 pm Hu Tao

ich9: kill cmos_s3

Signed-off-by: Hu Tao <>
Reviewed-by: Paolo Bonzini <>
Message-id:
Signed-off-by: Anthony Liguori <>

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...

58aeda15 04/24/2013 11:48 am Alon Levy

dev-smartcard-reader: empty implementation for Mechanical (fail correctly)

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

2f8f916b 04/24/2013 11:48 am Alon Levy

dev-smartcard-reader: copy atr protocol to ccid parameters

Adds todos.

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

d7d218ef 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: change default protocol to T=0

We don't support T=1 so we shouldn't advertise it by default.

Two independent changes:
  • Default ATR
    sets T=0. This gets overwritten by the client provided ATR later.
  • Class descriptor
    changes dwAdvertise dwProtocols.PPPP to 0x1 and dwProtocols.RRRR=0 per spec....
4942d6c3 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: define structs for CCID_Parameter internals

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

b16352ac 04/24/2013 11:47 am Alon Levy

ccid-card-passthru, dev-smartcard-reader: add debug environment variables

Introduces a new utility function: parse_debug_env to avoid code
duplication.

This overrides whatever debug value is set on the corresponding devices
from the command line, and is meant to ease the usage with any...

0e61400c 04/24/2013 11:47 am Alon Levy

ccid-card-passthru: add atr check

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

693e4773 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: reuse usb.h definitions

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

c5cd7c87 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: support windows guest

By not advertising USB wakeup support (which we don't).

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

47bf53af 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: remove aborts (never triggered, but just in case)

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

7e1ac5ab 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: nicer debug messages

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

4543d43c 04/24/2013 11:47 am Alon Levy

dev-smartcard-reader: white space fixes

Signed-off-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

da000a48 04/24/2013 11:47 am Jim Meyering

ccid: declare DEFAULT_ATR table to be "static const"

Signed-off-by: Jim Meyering <>
Reviewed-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

d18c7117 04/24/2013 11:47 am Jim Meyering

ccid: make backend_enum_table "static const" and adjust users

Signed-off-by: Jim Meyering <>
Reviewed-by: Alon Levy <>
Reviewed-by: Marc-André Lureau <>

d0ebd788 04/24/2013 11:47 am Marc-André Lureau

ccid-card-emul: do not crash if backend is not provided

Program received signal SIGSEGV, Segmentation fault.
__strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:164
164 movdqu (%rsi), %xmm2
(gdb) bt
at /home/elmarco/320g/src/qemu/hw/ccid-card-emulated.c:477...

bb716238 04/23/2013 06:40 pm Stefan Berger

Move TPM passthrough specific command line options to backend structure

Move the TPM passthrough specific command line options to the passthrough
backend implementation and attach them to the backend's interface structure.

Add code to tpm.c for validating the TPM command line options....

e7303c43 04/23/2013 06:37 pm KONRAD Frederic

virtio-9p: add the virtio-9p device.

Create virtio-9p-device which extends virtio-device, so it can be connected on
virtio-bus.

Signed-off-by: KONRAD Frederic <>
Message-id: ...

234a336f 04/23/2013 06:37 pm KONRAD Frederic

virtio-9p-pci: switch to the new API.

Here the virtio-9p-pci is modified for the new API. The device
virtio-9p-pci extends virtio-pci. It creates and connects a
virtio-9p-device during the init. The properties are not changed.

Signed-off-by: KONRAD Frederic <>...

e8111e50 04/23/2013 06:37 pm KONRAD Frederic

virtio-9p: cleanup: init function.

This remove old init function as it is no longer needed.

Signed-off-by: KONRAD Frederic <>
Message-id:
Signed-off-by: Anthony Liguori <>

13daf6ca 04/23/2013 06:37 pm KONRAD Frederic

virtio-9p: cleanup: QOM casts.

As the virtio-9p-pci is switched to the new API, we can use QOM casts.

Signed-off-by: KONRAD Frederic <>
Message-id:
Signed-off-by: Anthony Liguori <>

7d04c2b7 04/23/2013 09:43 am Gerd Hoffmann

xhci: remove XHCIRing->base (unused)

Signed-off-by: Gerd Hoffmann <>

e449f26b 04/23/2013 09:43 am Hans de Goede

ehci_free_packet: Discard finished packets when the queue is halted

With pipelining it is possible to encounter a finished packet when cleaning
the queue due to a halt. This happens when a non stall error happens while
talking to a real device. In this case the queue on the usb-host side will...

3b7e759a 04/23/2013 09:43 am Gerd Hoffmann

usb: better speed mismatch error reporting

Report the supported speeds for device and port in the error message.
Also add the speeds to the tracepoint. And while being at it drop
the redundant error message in usb_desc_attach, usb_device_attach will
report the error anyway....

3f5cc97e 04/23/2013 09:43 am Gerd Hoffmann

usb-host: raise libusbx minimum version to 1.0.13

Allows to remove one FIXME. Makes LIBUSB_LOG_LEVEL_WARNING build errors
go away. And starting with that version libusb has a LIBUSBX_API_VERSION
define which allows to easily #ifdef version dependencies should that...

8e36d6ca 04/22/2013 05:30 pm Stefan Berger

tpm: Simplify creation of cancel path

Simplify the creation of the cancel path given the TPM's device path.
Given the path /dev/tpm0 build the path /sys/class/misc/tpm0/device/cancel.

Signed-off-by: Stefan Berger <>
Reviewed-by: Eric Blake <>...

6165daa4 04/22/2013 04:05 pm Anthony Liguori

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

  1. By Paolo Bonzini (5) and others
  2. Via Paolo Bonzini
    • bonzini/scsi-next:
      vhost-scsi-s390: new device supporting the tcm_vhost Linux kernel module
      vhost-scsi-ccw: new device supporting the tcm_vhost Linux kernel module...
d6394988 04/22/2013 04:04 pm Anthony Liguori

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

  1. By Amos Kong (1) and Luiz Capitulino (1)
  2. Via Luiz Capitulino
    • luiz/queue/qmp:
      virtio-balloon: fix integer overflow in BALLOON_CHANGE QMP event
      monitor: fix the wrong order of releasing keys...