Page MenuHomeFreeBSD

virtio_pci_legacy: Allow memory space for configuration
ClosedPublic

Authored by khng on Feb 20 2021, 6:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 11, 11:18 AM
Unknown Object (File)
Sun, Jun 2, 6:27 PM
Unknown Object (File)
Mon, May 27, 9:53 PM
Unknown Object (File)
Sun, May 26, 4:57 PM
Unknown Object (File)
Wed, May 22, 3:47 AM
Unknown Object (File)
Sun, May 19, 3:03 PM
Unknown Object (File)
Sun, May 19, 3:03 PM
Unknown Object (File)
Sun, May 19, 2:58 PM

Details

Summary

For guests running under some kind of VMMs, configuration structure is
available in memory space but not I/O space.

Reported by: Yuan Rui <number201724@me.com>
MFC after: 2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

khng requested review of this revision.Feb 20 2021, 6:11 PM

D26915 is marked as superseded by this one, but that one was for virtio_pci.c, and this one is for virtio_pci_legacy.c...?

The old virtio_pci.c code handling legacy Virtio is ported over to
virtio_pci_legacy.c in FreeBSD 13 and -CURRENT

Should we still keep the old differential open?

In D28818#645488, @khng300_gmail.com wrote:

The old virtio_pci.c code handling legacy Virtio is ported over to
virtio_pci_legacy.c in FreeBSD 13 and -CURRENT

Ah, that makes sense then.

Should we still keep the old differential open?

No, marking it ABANDONED seems correct.

This revision is now accepted and ready to land.Feb 21 2021, 8:17 PM
khng retitled this revision from virtio_pci: Allow memory space for configuration to virtio_pci_legacy: Allow memory space for configuration.Feb 23 2021, 7:37 AM

Rebased on top of the most recent D28817.

This revision now requires review to proceed.Feb 23 2021, 7:41 AM
This revision is now accepted and ready to land.Feb 25 2021, 8:01 PM

After testing, this patch runs normally on alibabacloud

Approved by: philip (mentor)