mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-26 19:03:27 +00:00
Fix virtio no interrupt received bug
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
39380f09b9
commit
3471843793
@ -154,8 +154,8 @@ impl VirtioDevice {
|
||||
VirtioDeviceType::Socket => todo!(),
|
||||
VirtioDeviceType::Unknown => todo!(),
|
||||
};
|
||||
let support_feature = Feature::from_bits_truncate(features);
|
||||
// support_feature.remove(Feature::RING_EVENT_IDX);
|
||||
let mut support_feature = Feature::from_bits_truncate(features);
|
||||
support_feature.remove(Feature::RING_EVENT_IDX);
|
||||
features & (support_feature.bits | device_support_features)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user