virtio: use modern mode for transitional device by default
This patch changes the default value of the loader tunable hw.virtio.pci.transitional to 1. This means, virtio uses the modern mode for transitional devices by default. The return values of vtpci_modern_probe() and vtpci_legacy_probei() were chosen to prefer modern mode, but hw.virtio.pci.transitional=0 prevents modern mode. Setting hw.virtio.pci.transitional to 1 by default seems a better fit. Reviewed by: tuexen Differential Revision: https://reviews.freebsd.org/D55894
This commit is contained in:
committed by
Michael Tuexen
parent
39c44fc55f
commit
0b39d72d04
@@ -114,7 +114,7 @@ use the legacy
|
||||
.Nm
|
||||
driver
|
||||
.Pq 0 .
|
||||
The default value is 0.
|
||||
The default value is 1.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr virtio_balloon 4 ,
|
||||
|
||||
Reference in New Issue
Block a user