X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fiface-host-dev.h;h=4377ec9ee01174e65fad959f0ea7451fe0392806;hb=471edd59ca70371e97cbad759e1710433f35990d;hp=4f1334f8f83f7e26a2631a0311dbea3190cdd368;hpb=276cfa264720edddc1677e35c6a300596965de7d;p=palacios.git diff --git a/linux_module/iface-host-dev.h b/linux_module/iface-host-dev.h index 4f1334f..4377ec9 100644 --- a/linux_module/iface-host-dev.h +++ b/linux_module/iface-host-dev.h @@ -7,8 +7,8 @@ */ -#define V3_VM_HOST_DEV_CONNECT (10244+1) +/* Connect using a V3_VM_HOST_DEV_CONNECT on the VM, which will return an fd */ /* to detemine whether a host request is available, poll the fd for read */ /* make a request for reading/writing guest or injecting irq */ @@ -44,7 +44,8 @@ struct palacios_host_dev_user_op { #define PALACIOS_HOST_DEV_USER_REQUEST_READ_GUEST 1 #define PALACIOS_HOST_DEV_USER_REQUEST_WRITE_GUEST 2 -#define PALACIOS_HOST_DEV_USER_REQUEST_IRQ_GUEST 3 +#define PALACIOS_HOST_DEV_USER_REQUEST_IRQ_RAISE_GUEST 3 +#define PALACIOS_HOST_DEV_USER_REQUEST_IRQ_LOWER_GUEST 4 uint32_t type; // type of operation (from the #defs above) void *gpa; // physical address in guest to read or write void USER *data; // user address of data that will be read or written