|
@@ -157,6 +157,9 @@ int virtio_device_freeze(struct virtio_device *dev);
|
|
int virtio_device_restore(struct virtio_device *dev);
|
|
int virtio_device_restore(struct virtio_device *dev);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#define virtio_device_for_each_vq(vdev, vq) \
|
|
|
|
+ list_for_each_entry(vq, &vdev->vqs, list)
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* virtio_driver - operations for a virtio I/O driver
|
|
* virtio_driver - operations for a virtio I/O driver
|
|
* @driver: underlying device driver (populate name and owner).
|
|
* @driver: underlying device driver (populate name and owner).
|