Skip to content
Commit 8b3bb3ec authored by Milton Miller's avatar Milton Miller Committed by Rusty Russell
Browse files

virtio: remove virtio-pci root device



We sometimes need to map between the virtio device and
the given pci device. One such use is OS installer that
gets the boot pci device from BIOS and needs to
find the relevant block device. Since it can't,
installation fails.

Instead of creating a top-level devices/virtio-pci
directory, create each device under the corresponding
pci device node.  Symlinks to all virtio-pci
devices can be found under the pci driver link in
bus/pci/drivers/virtio-pci/devices, and all virtio
devices under drivers/bus/virtio/devices.

Signed-off-by: default avatarMilton Miller <miltonm@bga.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Tested-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Acked-by: default avatarGleb Natapov <gleb@redhat.com>
Tested-by: default avatar"Daniel P. Berrange" <berrange@redhat.com>
Cc: stable@kernel.org
parent 2b8216e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment