diff options
Diffstat (limited to 'usr.sbin/bhyve/virtio.h')
-rw-r--r-- | usr.sbin/bhyve/virtio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/bhyve/virtio.h b/usr.sbin/bhyve/virtio.h index 474e244..04ef586 100644 --- a/usr.sbin/bhyve/virtio.h +++ b/usr.sbin/bhyve/virtio.h @@ -36,6 +36,7 @@ #define VRING_DESC_F_INDIRECT (1 << 2) #define VRING_AVAIL_F_NO_INTERRUPT 1 +#define VIRTIO_MSI_NO_VECTOR 0xFFFF struct virtio_desc { uint64_t vd_addr; @@ -78,6 +79,8 @@ struct virtio_used { #define VTCFG_R_QNOTIFY 16 #define VTCFG_R_STATUS 18 #define VTCFG_R_ISR 19 +#define VTCFG_R_CFGVEC 20 +#define VTCFG_R_QVEC 22 #define VTCFG_R_CFG0 20 /* No MSI-X */ #define VTCFG_R_CFG1 24 /* With MSI-X */ #define VTCFG_R_MSIX 20 |