Statistics
| Branch: | Revision:

root / hw / s390x / s390-virtio-bus.c @ f4dd69aa

History | View | Annotate | Download (20.7 kB)

# Date Author Comment
f4dd69aa 05/03/2013 08:05 pm KONRAD Frederic

virtio-x-bus: force bus name to virtio-bus.

When the proxy id is set, this bus takes the name "id.0" which is expected
to be the virtio-device's first bus.

So force this name to "virtio-bus" as it is an internal bus.

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

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

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

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

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

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

d6e51919 04/19/2013 05:19 pm Paolo Bonzini

vhost-scsi-s390: new device supporting the tcm_vhost Linux kernel module

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Asias He <>
Cc: Michael S. Tsirkin <>
Signed-off-by: Nicholas Bellinger <>...

292c8e50 04/19/2013 05:17 pm Paolo Bonzini

virtio-scsi: create VirtIOSCSICommon

This patch refactors existing virtio-scsi code into VirtIOSCSICommon
in order to allow virtio_scsi_init_common() to be used by both internal
virtio_scsi_init() and external vhost-scsi-pci code.

Cc: Michael S. Tsirkin <>...

74b4fe3d 04/17/2013 06:28 pm KONRAD Frederic

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

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

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

17ec5a86 04/17/2013 06:28 pm KONRAD Frederic

virtio-net: add the virtio-net device.

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

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

55169140 04/15/2013 06:22 pm KONRAD Frederic

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

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

2cd2b016 04/15/2013 06:22 pm KONRAD Frederic

virtio-serial: add the virtio-serial device.

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

Signed-off-by: KONRAD Frederic <>
Reviewed-by: Cornelia Huck <>
Reviewed-by: Peter Maydell <>...

0d09e41a 04/08/2013 07:13 pm Paolo Bonzini

hw: move headers to include/

Many of these should be cleaned up with proper qdev-/QOM-ification.
Right now there are many catch-all headers in include/hw/ARCH depending
on cpu.h, and this makes it necessary to compile these files per-target.
However, fixing this does not belong in these patches....

9ef13d8f 03/26/2013 04:26 pm KONRAD Frederic

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

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

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

4bfeb18a 03/26/2013 04:26 pm KONRAD Frederic

virtio-scsi: moving host_features from properties to transport properties.

host_features field is part of the transport device. So move all the
host_features related properties into transport device.

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

fe42d7fb 03/20/2013 09:27 am Cornelia Huck

virtio-ccw, s390-virtio: Use generic virtio-blk macro.

Now that virtio-ccw and s390-virtio define all common properties
for virtio-blk, we can switch to using the generic
DEFINE_VIRTIO_BLK_PROPERTIES macro.

CC: Alexander Graf <>
Signed-off-by: Cornelia Huck <>

da0a58b9 03/20/2013 09:22 am Cornelia Huck

s390-virtio, virtio-ccw: Add config_wce for virtio-blk.

There's no reason why we wouldn't want to make the cache mode
configurable.

Acked-by: Alexander Graf <>
Signed-off-by: Cornelia Huck <>

55d11e01 03/18/2013 08:08 pm KONRAD Frederic

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

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

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

cbd19063 03/18/2013 08:08 pm KONRAD Frederic

virtio-x-bus: fix allow_hotplug assertion.

This set allow_hotplug for each existing virtio-x-bus, allowing the
refactored devices to be hot pluggable.

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

35569cea 03/08/2013 10:17 pm Christian Borntraeger

Allow virtio-net features for legacy s390 virtio bus

Enable all virtio-net features for the legacy s390 virtio bus. This also fixes
kernel BUG at /usr/src/packages/BUILD/kernel-default-3.0.58/linux-3.0/drivers/s390/kvm/kvm_virtio.c:121!

Signed-off-by: Christian Borntraeger <>...

1e89ad5b 02/08/2013 03:37 pm Anthony Liguori

virtio-net: pass host features to virtio_net_init

Signed-off-by: Anthony Liguori <>

f9466733 02/01/2013 03:02 am Andreas Färber

target-s390x: Clean up cpu_inject_*() signatures

Despite cautioning that S390CPU is needed for upcoming CPUState
refactorings, commit 5d69c547d947798cba92d836d06f6e017ba2b19d (s390:
I/O interrupt and machine check injection.) added functions
cpu_inject_io() and cpu_inject_crw_mchk() with CPUS390XState argument,...

b73d3531 01/29/2013 10:50 pm Alexander Graf

s390: Move hw files to hw/s390x

This moves all files only used by s390 system emulation to hw/s390x.

Signed-off-by: Alexander Graf <>
Acked-by: Christian Borntraeger <>