lguest virtio PCI 1.0 adaptation.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 of 29 patches 0 repliesNew
9 of 29 patches are in this archive. The cover letter announces 29.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/29 | lguest: have --rng read from /dev/urandom not /dev/random.tools/ | +5 | 0 replies | |
| 2/29 | lguest: add operations to get/set a register from the Launcher.drivers/ drivers/ drivers/ +2 more | +108 | 0 replies | |
| 3/29 | lguest: write more information to userspace about pending traps.drivers/ drivers/ drivers/ +3 more | +42 | 0 replies | |
| 4/29 | lguest: add infrastructure for userspace to deliver a trap to the guest.drivers/ include/ | +20 | 0 replies | |
| 5/29 | lguest: add infrastructure to check mappings.drivers/ drivers/ | +30 | 0 replies | |
| 6/29 | lguest: send trap 13 through to userspace.drivers/ tools/ | +192 | 0 replies | |
| 7/29 | lguest: suppress PS/2 keyboard polling.tools/ | +4 | 0 replies | |
| 8/29 | lguest: don't disable iospace.arch/ | +0 | 0 replies | |
| 9/29 | lguest: add iomem region, where guest page faults get sent to userspace.drivers/ drivers/ drivers/ +2 more | +58 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/29] lguest virtio PCI 1.0 adaptation.
Hi all!
I've just spent a week changing lguest from its own custom
virtio bus to PCI, and from legacy virtio to modern (1.0). I did this mainly to test the Linux implementation.
The first 11 patches set up the framework for routing more traps to the Lguest launcher, so we can intercept ioport and MMIO instructions.
Patches 12-15 implement emulation of virtio over PCI devices, and then 16-19 convert the four devices we support. 20-23 remove the obsolete lguest bus support.
24-27 change the guest to bang the emerg_wr register (via the pci config space MMIO accessor window) to perform early boot messages. It's slow and ugly, but it works.
Finally, the last two patches remove the last of the old hypercall notification mechanism.
Cheers!
Rusty.
Rusty Russell (29):
lguest: have --rng read from /dev/urandom not /dev/random.
lguest: add operations to get/set a register from the Launcher.
lguest: write more information to userspace about pending traps.
lguest: add infrastructure for userspace to deliver a trap to the
guest.
lguest: add infrastructure to check mappings.
lguest: send trap 13 through to userspace.
lguest: suppress PS/2 keyboard polling.
lguest: don't disable iospace.
lguest: add iomem region, where guest page faults get sent to
userspace.
lguest: disable ACPI explicitly.
lguest: Override pcibios_enable_irq/pcibios_disable_irq to our stupid
PIC
lguest: add PCI emulation.
lguest: implement virtio-PCI MMIO accesses.
lguest: fix failure to find linux/virtio_types.h
lguest: add a dummy PCI host bridge.
lguest: Convert block device to virtio 1.0 PCI.
lguest: Convert net device to virtio 1.0 PCI.
lguest: Convert entropy device to virtio 1.0 PCI.
lguest: Convert console device to virtio 1.0 PCI.
lguest: define VIRTIO_CONFIG_NO_LEGACY in example launcher.
lguest: remove support for lguest bus.
lguest: remove support for lguest bus in demonstration launcher.
lguest: remove lguest bus definitions from header.
lguest: support emerg_wr in console device in example launcher.
lguest: support backdoor window.
lguest: always put console in PCI slot #1.
lguest: use the PCI console device's emerg_wr for early boot messages.
lguest: remove NOTIFY facility from demonstration launcher.
lguest: remove NOTIFY call and eventfd facility.
arch/x86/include/asm/lguest_hcall.h | 1 - arch/x86/lguest/boot.c | 182 ++++- drivers/lguest/Makefile | 3 - drivers/lguest/core.c | 29 +- drivers/lguest/hypercalls.c | 7 +- drivers/lguest/lg.h | 26 +- drivers/lguest/lguest_device.c | 540 ------------- drivers/lguest/lguest_user.c | 221 ++---- drivers/lguest/page_tables.c | 75 +- drivers/lguest/x86/core.c | 198 ++--- include/linux/lguest_launcher.h | 61 +- tools/lguest/Makefile | 8 +- tools/lguest/lguest.c | 1443 +++++++++++++++++++++++++++-------- 13 files changed, 1572 insertions(+), 1222 deletions(-) delete mode 100644 drivers/lguest/lguest_device.c
Signature · 1 line
2.1.0