Skip to content
Snippets Groups Projects
Commit 69767ef5 authored by Avi Kivity's avatar Avi Kivity
Browse files

virtio, pci: fix layering violation

The pci layer knows about virtio devices and creates them, even though
virtio is a higher layer.

Fix by making virtio_device contain a reference to the pci device, instead
of inheriting from it.  The functionality could probably be moved to
pci_driver.
parent 1311706f
No related branches found
No related tags found
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