vhost-user.h 436 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2017-2018 Intel Corporation
  3. *
  4. * This work is licensed under the terms of the GNU GPL, version 2.
  5. * See the COPYING file in the top-level directory.
  6. */
  7. #ifndef HW_VIRTIO_VHOST_USER_H
  8. #define HW_VIRTIO_VHOST_USER_H
  9. #include "chardev/char-fe.h"
  10. typedef struct VhostUserState {
  11. CharBackend *chr;
  12. } VhostUserState;
  13. VhostUserState *vhost_user_init(void);
  14. void vhost_user_cleanup(VhostUserState *user);
  15. #endif