VIRTIO_ID_WL changed to match ID value in kernel driver.

This commit is contained in:
Bruce Leidl 2023-01-27 16:34:34 -05:00
parent 616c0d4fa7
commit ffa6075c80

View File

@ -14,7 +14,7 @@ mod device;
mod consts { mod consts {
use std::mem; use std::mem;
pub const VIRTIO_ID_WL: u16 = 30; pub const VIRTIO_ID_WL: u16 = 63;
pub const VIRTWL_SEND_MAX_ALLOCS: usize = 28; pub const VIRTWL_SEND_MAX_ALLOCS: usize = 28;
pub const VIRTIO_WL_CMD_VFD_NEW: u32 = 256; pub const VIRTIO_WL_CMD_VFD_NEW: u32 = 256;
pub const VIRTIO_WL_CMD_VFD_CLOSE: u32 = 257; pub const VIRTIO_WL_CMD_VFD_CLOSE: u32 = 257;