summaryrefslogtreecommitdiff
path: root/hw/vhost.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vhost.h')
-rw-r--r--hw/vhost.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/vhost.h b/hw/vhost.h
index 86dd834dbe..c8c595a147 100644
--- a/hw/vhost.h
+++ b/hw/vhost.h
@@ -38,10 +38,12 @@ struct vhost_dev {
bool log_enabled;
vhost_log_chunk_t *log;
unsigned long long log_size;
+ bool force;
};
-int vhost_dev_init(struct vhost_dev *hdev, int devfd);
+int vhost_dev_init(struct vhost_dev *hdev, int devfd, bool force);
void vhost_dev_cleanup(struct vhost_dev *hdev);
+bool vhost_dev_query(struct vhost_dev *hdev, VirtIODevice *vdev);
int vhost_dev_start(struct vhost_dev *hdev, VirtIODevice *vdev);
void vhost_dev_stop(struct vhost_dev *hdev, VirtIODevice *vdev);