Commit 5bf20cd
committed
fix(pci): correctly set device status to 0 on reset
Even though currently, no device supports resetting, when the guest
attempts to reset the device we must set the status to 0 as
specified in the 2.4.1 Device Requirements: Device Reset.
This does not change the current status of us not supporting device
resetting. This is the issue we encountered during addition of
virtio-pmem device where the guest kernel now resets devices on VM
shutdown.
Signed-off-by: Egor Lazarchuk <[email protected]>1 parent 9fa26c3 commit 5bf20cd
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
965 | | - | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
966 | 968 | | |
967 | 969 | | |
968 | 970 | | |
969 | | - | |
970 | 971 | | |
971 | 972 | | |
972 | 973 | | |
| |||
0 commit comments