tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VirtIO MMIO for amd64




Here's the full patch for GENPVH+cmdline MMIO+Firecracker support

https://imil.net/NetBSD/genpvh+mmio.patch

This patch includes:

- generic PVH boot for qemu, Firecracker etc... see the "PVH boot with
  qemu" thread for details
- a new bus, pvbus, used to attach devices that could be used in more
  than one hypervisor, such as the cmdline MMIO device or pvclock (not
  ported yet)
- MMIO cmdline support, used by qemu and FC to advertise virtio devices
  memory mappings to guests
- a "fix" for MP tables, or like Colin says "bug for bug compatibility",
  needed to detect IOAPIC on guests with no ACPI
- a fix for ld_virtio block device enabling FC to use it

The patch applies on the latest current.

kernel configuration:

pv* at pvbus?
virtio* at pv?
ld* at virtio?
vioif* at virtio?
viornd* at virtio?

This is how fast this thing boots: https://twitter.com/iMilnb/status/1743576957046931647

Feedback appreciated.

Cheers,

--
------------------------------------------------------------------------
Emile `iMil' Heitor <imil@{home.imil.net,NetBSD.org}> | https://imil.net


Home | Main Index | Thread Index | Old Index