Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/vmm/src/devices/virtio/transport/pci/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -962,11 +962,12 @@ impl PciDevice for VirtioPciDevice {
}
None => {
error!("Attempt to reset device when not implemented in underlying device");
self.common_config.driver_status = DEVICE_FAILED;
// TODO: currently we don't support device resetting, but we still
// follow the spec and set the status field to 0.
self.common_config.driver_status = DEVICE_INIT;
}
}
}

None
}
}
Expand Down