Skip to content

Commit fcc5d50

Browse files
committed
chore(virtio-pmem): make handle_queue public for fuzzer
Fuzzer does not signal eventfds, so it has to call internal queue processing functions instead. This is inline with fuzzers for all other devices. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
1 parent b96b5f9 commit fcc5d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vmm/src/devices/virtio/pmem/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ impl Pmem {
247247
.map_err(PmemError::SetUserMemoryRegion)
248248
}
249249

250-
fn handle_queue(&mut self) -> Result<(), PmemError> {
250+
pub fn handle_queue(&mut self) -> Result<(), PmemError> {
251251
// This is safe since we checked in the event handler that the device is activated.
252252
let active_state = self.device_state.active_state().unwrap();
253253

0 commit comments

Comments
 (0)