From 5ad2ea658cf234a85d65bda43c7fc761c2af0bd4 Mon Sep 17 00:00:00 2001 From: Changyuan Lyu Date: Wed, 22 May 2024 16:38:15 -0700 Subject: [PATCH] feat(virtio): enable ACCESS_PLATFORM bits Signed-off-by: Changyuan Lyu --- alioth/src/virtio/virtio.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alioth/src/virtio/virtio.rs b/alioth/src/virtio/virtio.rs index c778b17..6d4720a 100644 --- a/alioth/src/virtio/virtio.rs +++ b/alioth/src/virtio/virtio.rs @@ -51,8 +51,9 @@ bitflags! { const INDIRECT_DESC = 1 << 28; const EVENT_IDX = 1 << 29; const VERSION_1 = 1 << 32; + const ACCESS_PLATFORM = 1 << 33; const RING_PACKED = 1 << 34; - const SUPPORTED = Self::VERSION_1.bits(); + const SUPPORTED = Self::VERSION_1.bits() | Self::ACCESS_PLATFORM.bits(); } }