qdev: remove duplication between qbus_create and qbus_create_inplace
Move the common part to qbus_realize.
Acked-by: Andreas Färber <afaerber@suse.de>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qdev: change first argument of qbus_create_inplace to void *
Make it clear that no BUS macro is needed in the callers (in fact itwouldn't work because the object has not been initialized yet with theright class).
Suggested-by: Andreas Faerber <afaerber@suse.de>...
accel: change {xen, kvm, tcg, qtest}_allowed from int to bool
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
xen: fix build problem introduced from per-queue peers
Reported-by Andreas Färber <afaerber@suse.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
virtio: add a queue_index to VirtQueue
Add a queue_index to VirtQueue and a helper to fetch it, this could be used bymultiqueue supported device.
Signed-off-by: Jason Wang <jasowang@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
virtio-net: separate virtqueue from VirtIONet
To support multiqueue virtio-net, the first step is to separate the virtqueuerelated fields from VirtIONet to a new structure VirtIONetQueue. The followingpatches will add an array of VirtIONetQueue to VirtIONet based on this patch....
virtio-net: multiqueue support
This patch implements both userspace and vhost support for multiple queuevirtio-net (VIRTIO_NET_F_MQ). This is done by introducing an array ofVirtIONetQueue to VirtIONet.
virtio-net: migration support for multiqueue
This patch add migration support for multiqueue virtio-net. Instead of bumpingthe version, we conditionally send the info of multiqueue only when the devicesupport more than one queue to maintain the backward compatibility....
virtio-net: compat multiqueue support
Disable multiqueue support for pre 1.4.
virtio: introduce virtio_del_queue()
Some device (such as virtio-net) needs the ability to destroy or re-order thevirtqueues, this patch adds a helper to do this.
Signed-off-by: Jason Wang <jasowang>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
View revisions
Also available in: Atom