Statistics
| Branch: | Revision:

root / hw / virtio @ e3914e3a

Name Size
  dataplane
Makefile.objs 231 Bytes
vhost.c 32.6 kB
virtio-balloon.c 11.5 kB
virtio-bus.c 5.1 kB
virtio-pci.c 49.2 kB
virtio-pci.h 5.2 kB
virtio-rng.c 6 kB
virtio.c 30 kB

Latest revisions

# Date Author Comment
052e87b0 06/20/2013 05:32 pm Paolo Bonzini

memory: make section size a 128-bit integer

So far, the size of all regions passed to listeners could fit in 64 bits,
because artificial regions (containers and aliases) are eliminated by
the memory core, leaving only device regions which have reasonable sizes...

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

bbfa18fc 05/30/2013 07:44 pm Amos Kong

qdev: fix get_fw_dev_path to support to add nothing to fw_dev_path

Recent virtio refactoring in QEMU made virtio-bus become the parent bus
of scsi-bus, and virtio-bus doesn't have get_fw_dev_path implementation,
typename will be added to fw_dev_path by default, the new fw_dev_path...

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

6d46895b 05/16/2013 10:18 pm KONRAD Frederic

virtio: add virtio_bus_get_dev_path.

This adds virtio_bus_get_dev_path to fix migration id string which is wrong
since the virtio refactoring.

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

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

5f5a1318 05/08/2013 11:54 pm Jason Wang

virtio: properly validate address before accessing config

There are several several issues in the current checking:

- The check was based on the minus of unsigned values which can overflow
- It was done after .{set|get}_config() which can lead crash when config_len...

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

View revisions

Also available in: Atom