aboutgitcodebugslistschat
path: root/vhost_user.h
diff options
context:
space:
mode:
Diffstat (limited to 'vhost_user.h')
-rw-r--r--vhost_user.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vhost_user.h b/vhost_user.h
index 2fc0342..22a5d05 100644
--- a/vhost_user.h
+++ b/vhost_user.h
@@ -15,6 +15,7 @@
#include "iov.h"
#define VHOST_USER_F_PROTOCOL_FEATURES 30
+#define VHOST_LOG_PAGE 4096
#define VHOST_MEMORY_BASELINE_NREGIONS 8
@@ -241,5 +242,7 @@ void vu_print_capabilities(void);
void vu_init(struct ctx *c);
void vu_cleanup(struct vu_dev *vdev);
void vu_log_kick(const struct vu_dev *vdev);
+void vu_log_write(const struct vu_dev *vdev, uint64_t address,
+ uint64_t length);
void vu_control_handler(struct vu_dev *vdev, int fd, uint32_t events);
#endif /* VHOST_USER_H */