1 #ifndef _V3_USER_HOST_DEV_
2 #define _V3_USER_HOST_DEV_
5 #include "palacios-host-dev-user.h"
7 int v3_user_host_dev_rendezvous(char *vmdev, char *url); // returns devfd for use in poll/select
8 int v3_user_host_dev_depart(int devfd);
10 int v3_user_host_dev_have_request(int devfd);
11 int v3_user_host_dev_pull_request(int devfd, struct palacios_host_dev_host_request_response **req);
12 int v3_user_host_dev_push_response(int devfd, struct palacios_host_dev_host_request_response *resp);
14 uint64_t v3_user_host_dev_read_guest_mem(int devfd, void *gpa, void *dest, uint64_t len);
15 uint64_t v3_user_host_dev_write_guest_mem(int devfd, void *gpa, void *src, uint64_t len);
16 int v3_user_host_dev_inject_guest_irq(int devfd, uint8_t irq);