]>
Commit | Line | Data |
---|---|---|
f12c1ebd FF |
1 | /* |
2 | * vhost-user-scsi host device | |
3 | * | |
4 | * Copyright (c) 2016 Nutanix Inc. All rights reserved. | |
5 | * | |
6 | * Author: | |
7 | * Felipe Franciosi <[email protected]> | |
8 | * | |
9 | * This file is largely based on "vhost-scsi.h" by: | |
10 | * Stefan Hajnoczi <[email protected]> | |
11 | * | |
12 | * This work is licensed under the terms of the GNU LGPL, version 2 or later. | |
13 | * See the COPYING.LIB file in the top-level directory. | |
14 | * | |
15 | */ | |
16 | ||
17 | #ifndef VHOST_USER_SCSI_H | |
18 | #define VHOST_USER_SCSI_H | |
19 | ||
f12c1ebd FF |
20 | #include "hw/virtio/virtio-scsi.h" |
21 | #include "hw/virtio/vhost.h" | |
4d0cf552 | 22 | #include "hw/virtio/vhost-user.h" |
f12c1ebd FF |
23 | #include "hw/virtio/vhost-scsi-common.h" |
24 | ||
25 | #define TYPE_VHOST_USER_SCSI "vhost-user-scsi" | |
26 | #define VHOST_USER_SCSI(obj) \ | |
27 | OBJECT_CHECK(VHostUserSCSI, (obj), TYPE_VHOST_USER_SCSI) | |
28 | ||
29 | typedef struct VHostUserSCSI { | |
30 | VHostSCSICommon parent_obj; | |
0b99f224 | 31 | VhostUserState vhost_user; |
f12c1ebd FF |
32 | } VHostUserSCSI; |
33 | ||
34 | #endif /* VHOST_USER_SCSI_H */ |