]> Git Repo - qemu.git/blame - hw/block/dataplane/virtio-blk.h
Merge remote-tracking branch 'remotes/lalrae/tags/mips-20160624' into staging
[qemu.git] / hw / block / dataplane / virtio-blk.h
CommitLineData
e72f66a0
SH
1/*
2 * Dedicated thread for virtio-blk I/O processing
3 *
4 * Copyright 2012 IBM, Corp.
5 * Copyright 2012 Red Hat, Inc. and/or its affiliates
6 *
7 * Authors:
8 * Stefan Hajnoczi <[email protected]>
9 *
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.
12 *
13 */
14
15#ifndef HW_DATAPLANE_VIRTIO_BLK_H
16#define HW_DATAPLANE_VIRTIO_BLK_H
17
0d09e41a 18#include "hw/virtio/virtio.h"
e72f66a0
SH
19
20typedef struct VirtIOBlockDataPlane VirtIOBlockDataPlane;
21
2a30307f 22void virtio_blk_data_plane_create(VirtIODevice *vdev, VirtIOBlkConf *conf,
3ffeeef7
AF
23 VirtIOBlockDataPlane **dataplane,
24 Error **errp);
e72f66a0
SH
25void virtio_blk_data_plane_destroy(VirtIOBlockDataPlane *s);
26void virtio_blk_data_plane_start(VirtIOBlockDataPlane *s);
27void virtio_blk_data_plane_stop(VirtIOBlockDataPlane *s);
28void virtio_blk_data_plane_drain(VirtIOBlockDataPlane *s);
03de2f52 29void virtio_blk_data_plane_notify(VirtIOBlockDataPlane *s);
e72f66a0
SH
30
31#endif /* HW_DATAPLANE_VIRTIO_BLK_H */
This page took 0.18955 seconds and 4 git commands to generate.