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)
commitac399d8f39a860655961660efa5c67e7f3c47912
tree564273dc5bd0732dfe868860060df59c23860468
parent46506da5f365efe7fe3e4c9da73ab679c0382fac
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