virtio-gpud: indicate the reservation of 0 resource_id
Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@ use virtio_core::{
|
||||
|
||||
use crate::*;
|
||||
|
||||
static RESOURCE_ALLOC: AtomicU32 = AtomicU32::new(1);
|
||||
static RESOURCE_ALLOC: AtomicU32 = AtomicU32::new(1); // XXX: 0 is reserved for whatever that takes `resource_id`.
|
||||
|
||||
pub struct Display<'a> {
|
||||
control_queue: Arc<Queue<'a>>,
|
||||
|
||||
Reference in New Issue
Block a user