]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_pci: add module param to force legacy mode
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Jan 2015 15:54:13 +0000 (17:54 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Jan 2015 05:59:01 +0000 (16:29 +1030)
commitfee303d95886209b6fb4efe9780c266491a5ab7e
tree564273dc5bd0732dfe868860060df59c23860468
parenta96c326bc4c069edae2c783cbe44b61aad152975
virtio_pci: add module param to force legacy mode

If set, try legacy interface first, modern one if that fails.  Useful to
work around device/driver bugs, and for compatibility testing.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_pci_common.c