mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-29 00:41:19 +00:00
Merge branch 'main' into remove-tryfrom-use
This commit is contained in:
commit
c2a97d5edd
@ -929,10 +929,13 @@ mod tests {
|
||||
|
||||
backend.process_events(desc_chains.clone(), &vring).unwrap();
|
||||
|
||||
while backend.handles.read().unwrap()[GPIO as usize].is_some()
|
||||
|| backend.handles.read().unwrap()[(GPIO + 1) as usize].is_some()
|
||||
|| backend.handles.read().unwrap()[(GPIO + 2) as usize].is_some()
|
||||
{}
|
||||
while {
|
||||
let h = backend.handles.read().unwrap();
|
||||
|
||||
h[GPIO as usize].is_some()
|
||||
|| h[(GPIO + 1) as usize].is_some()
|
||||
|| h[(GPIO + 2) as usize].is_some()
|
||||
} {}
|
||||
|
||||
validate_desc_chains(desc_chains, VIRTIO_GPIO_IRQ_STATUS_VALID, None);
|
||||
}
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 99fe2eb2e05d1b2cbeed6fb00b754e8f1c5b2f81
|
||||
Subproject commit 258161e88af86e1fb1fb188de25fd0e1f9d26d0a
|
||||
Loading…
Reference in New Issue
Block a user