hw/isa/Kconfig: Add missing dependency VIA VT82C686 -> APM
[qemu/ar7.git] / hw / block / dataplane / virtio-blk.h
blob5e18bb99aeb8ea8b535178c746fde2c14988dd74
1 /*
2 * Dedicated thread for virtio-blk I/O processing
4 * Copyright 2012 IBM, Corp.
5 * Copyright 2012 Red Hat, Inc. and/or its affiliates
7 * Authors:
8 * Stefan Hajnoczi <stefanha@redhat.com>
10 * This work is licensed under the terms of the GNU GPL, version 2 or later.
11 * See the COPYING file in the top-level directory.
15 #ifndef HW_DATAPLANE_VIRTIO_BLK_H
16 #define HW_DATAPLANE_VIRTIO_BLK_H
18 #include "hw/virtio/virtio.h"
20 typedef struct VirtIOBlockDataPlane VirtIOBlockDataPlane;
22 bool virtio_blk_data_plane_create(VirtIODevice *vdev, VirtIOBlkConf *conf,
23 VirtIOBlockDataPlane **dataplane,
24 Error **errp);
25 void virtio_blk_data_plane_destroy(VirtIOBlockDataPlane *s);
26 void virtio_blk_data_plane_notify(VirtIOBlockDataPlane *s, VirtQueue *vq);
28 int virtio_blk_data_plane_start(VirtIODevice *vdev);
29 void virtio_blk_data_plane_stop(VirtIODevice *vdev);
31 #endif /* HW_DATAPLANE_VIRTIO_BLK_H */