[Lguest] [RFC 0/2] virtio_pci: patches never to apply.

Rusty Russell rusty at rustcorp.com.au
Wed Feb 11 17:25:15 AEDT 2015


This should allow testing when QEMU gets VIRTIO_PCI_CAP_PCI_CFG support,
but I'm pretty sure we should never allow these patches upstream.

Tested with lguest (in virtio-next), which supports VIRTIO_PCI_CAP_PCI_CFG.

Rusty Russell (2):
  virtio_pci: abstract all MMIO accesses.
  virtio: Introducing virtio_pci.no_mmio, the worst boot option in
    history.

 drivers/virtio/virtio_pci_common.c |  70 +++++++-
 drivers/virtio/virtio_pci_common.h |  62 ++++++++
 drivers/virtio/virtio_pci_legacy.c |   1 +
 drivers/virtio/virtio_pci_modern.c | 317 ++++++++++++++++++++++++++++++-------
 4 files changed, 391 insertions(+), 59 deletions(-)

-- 
2.1.0


More information about the Lguest mailing list