Statistics
| Branch: | Revision:

root / include / hw / virtio @ ac41881b

Name Size
  dataplane
vhost-scsi.h 2.1 kB
vhost.h 2.1 kB
virtio-9p.h 430 Bytes
virtio-balloon.h 2 kB
virtio-blk.h 4.4 kB
virtio-bus.h 4 kB
virtio-net.h 10.1 kB
virtio-rng.h 1.8 kB
virtio-scsi.h 5.8 kB
virtio-serial.h 7.1 kB
virtio.h 9.6 kB

Latest revisions

# Date Author Comment
8c1b566f 12/20/2013 10:11 am Paolo Bonzini

dataplane: change vring API to use VirtQueueElement

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Stefan Hajnoczi <>

87b7f2f8 12/20/2013 10:11 am Paolo Bonzini

dataplane: replace hostmem with memory_region_find

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Stefan Hajnoczi <>

1d244b42 12/09/2013 10:46 pm Andreas Färber

virtio: Start converting VirtioDevice to QOM realize

Temporarily allow either VirtioDeviceClass::init or
VirtioDeviceClass::realize.

Introduce VirtioDeviceClass::unrealize for symmetry.

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

a8d57dfb 12/09/2013 10:46 pm Andreas Färber

virtio-rng: Convert to QOM realize

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

71a6520b 12/09/2013 10:46 pm Andreas Färber

virtio-scsi: Convert to QOM realize

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

0ba94b6f 12/09/2013 10:46 pm Andreas Färber

virtio: Complete converting VirtioDevice to QOM realize

Drop VirtioDeviceClass::init.

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

306ec6c3 12/09/2013 10:46 pm Andreas Färber

virtio: Convert exit to unrealize

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

06d3dff0 12/09/2013 10:46 pm Paolo Bonzini

virtio-bus: remove vdev field

The vdev field is complicated to synchronize. Just access the
BusState's list of children.

Cc:
Acked-by: Andreas Faerber <>
Signed-off-by: Paolo Bonzini <>

5e96f5d2 12/09/2013 10:46 pm Paolo Bonzini

virtio-bus: cleanup plug/unplug interface

Right now we have these pairs:

- virtio_bus_plug_device/virtio_bus_destroy_device. The first
takes a VirtIODevice, the second takes a VirtioBusState

- device_plugged/device_unplug callbacks in the VirtioBusClass...

e3c9d76a 12/09/2013 10:46 pm Paolo Bonzini

virtio-scsi: switch exit callback to VirtioDeviceClass

This ensures hot-unplug is handled properly by the proxy, and avoids
leaking bus_name which is freed by virtio_device_exit.

Cc:
Acked-by: Andreas Faerber <>
Signed-off-by: Paolo Bonzini <>

View revisions

Also available in: Atom