Statistics
| Branch: | Revision:

root / hw / virtio / virtio-pci.c @ a8aec295

History | View | Annotate | Download (49.2 kB)

# Date Author Comment
5b456438 06/18/2013 06:05 pm Cole Robinson

virtio-rng: Fix crash with non-default backend

'default_backend' isn't always set, but 'rng' is, so use that.

$ ./x86_64-softmmu/qemu-system-x86_64 -object rng-random,id=rng0,filename=/dev/random -device virtio-rng-pci,rng=rng0
Segmentation fault (core dumped)...

87d23f78 05/29/2013 04:16 pm Michael S. Tsirkin

virtio-pci: drop unused wmb macro

The implementation is wrong for kvm, and it's unused anyway.
Drop it.

Signed-off-by: Michael S. Tsirkin <>
Message-id:
Signed-off-by: Anthony Liguori <>

800ced8c 05/15/2013 04:48 pm KONRAD Frederic

virtio-net-x: forward the netclient name and type.

This forwards the name and the type of virtio-net-x to fix the bad
behaviour of "info network" command.

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

62c96360 05/08/2013 11:54 pm Michael S. Tsirkin

virtio-pci: fix level interrupts

mask notifiers are never called without msix,
so devices with backend masking like vhost don't work.
Call mask notifiers explicitly at
startup/cleanup to make it work.

Signed-off-by: Michael S. Tsirkin <>
Tested-by: Alexander Graf <>...

80270a19 05/03/2013 08:05 pm KONRAD Frederic

virtio-serial: fix command line compatibility.

The bus name is wrong since the refactoring.

This keeps the behaviour of the command line.

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

6f32a6b4 05/03/2013 08:05 pm KONRAD Frederic

virtio-scsi: fix the command line compatibility.

The bus name is wrong since the refactoring.

This keeps the behaviour of the command line.

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

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

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

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

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

50787628 04/19/2013 05:18 pm Nicholas Bellinger

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

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

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

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

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

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

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

24a6e7f4 04/16/2013 01:06 am KONRAD Frederic

virtio-balloon: fix dynamic properties.

To keep compatibility with the old virtio-balloon-x, add the dynamic properties
to virtio-balloon-pci and virtio-balloon-ccw.

Cc: Luiz Capitulino <>
Signed-off-by: KONRAD Frederic <>...

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

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

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

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

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

47b43a1f 04/08/2013 07:13 pm Paolo Bonzini

hw: move private headers to hw/ subdirectories.

Many headers are used only in a single directory. These can be
kept in hw/.

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