Skip to content

xen: Xen implementation for paravirt_ops

Jeremy Fitzhardinge lkml netdev virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest29 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/29xen: Add apply_to_page_range() which applies a function to a pte range.include/linux/mm.h mm/memory.c+99 -00 replies
2/29xen: Allocate and free vmalloc areasinclude/linux/vmalloc.h mm/vmalloc.c+55 -00 replies
3/29xen: Add nosegneg capability to the vsyscall page notesarch/i386/kernel/vsyscall-note.S include/asm-i386/elf.h+33 -40 replies
4/29xen: Add Xen interface header filesinclude/asm-i386/xen/hypercall.h include/asm-i386/xen/hypervisor.h include/asm-i386/xen/interface.h +16 more+3041 -00 replies
5/29xen: Core Xen implementationarch/i386/Makefile arch/i386/kernel/entry.S arch/i386/kernel/head.S +13 more+1334 -10 replies
6/29xen: Xen virtual mmuarch/i386/xen/Makefile arch/i386/xen/enlighten.c arch/i386/xen/mmu.c +1 more+493 -50 replies
7/29xen: xen event channelsarch/i386/xen/Makefile arch/i386/xen/enlighten.c arch/i386/xen/events.c +1 more+542 -10 replies
8/29xen: xen time implementationarch/i386/xen/Makefile arch/i386/xen/enlighten.c arch/i386/xen/time.c+409 -10 replies
9/29xen: xen configurationarch/i386/Kconfig arch/i386/xen/Kconfig+13 -00 replies
10/29xen: Complete pagetable pinning for Xenarch/i386/kernel/setup.c arch/i386/kernel/vmi.c arch/i386/mm/init.c +9 more+289 -1430 replies
11/29xen: ignore RW mapping of RO pages in pagetable_initarch/i386/xen/enlighten.c+25 -20 replies
12/29xen: fix multicall batchingarch/i386/xen/enlighten.c arch/i386/xen/mmu.c arch/i386/xen/multicalls.c +2 more+71 -320 replies
13/29xen: Account for time stolen by Xenarch/i386/xen/time.c+105 -10 replies
14/29xen: Implement xen_sched_clockarch/i386/xen/enlighten.c arch/i386/xen/time.c arch/i386/xen/xen-ops.h+23 -40 replies
15/29xen: Xen SMP guest supportarch/i386/kernel/smp.c arch/i386/kernel/smpboot.c arch/i386/xen/Kconfig +13 more+717 -650 replies
16/29xen: Add support for preemptionarch/i386/xen/Kconfig arch/i386/xen/enlighten.c arch/i386/xen/mmu.c +2 more+89 -550 replies
17/29xen: lazy-mmu operationsarch/i386/xen/enlighten.c arch/i386/xen/mmu.c arch/i386/xen/multicalls.c+78 -380 replies
18/29xen: deal with negative stolen timearch/i386/xen/smp.c arch/i386/xen/time.c arch/i386/xen/xen-ops.h+83 -360 replies
19/29xen: Use the hvc console infrastructure for Xen consolearch/i386/xen/events.c drivers/Makefile drivers/char/Kconfig +3 more+149 -11 reply
20/29xen: Add early printk support via hvc consolearch/x86_64/kernel/early_printk.c drivers/char/hvc_xen.c drivers/xen/Makefile +1 more+37 -00 replies
21/29xen: Add Xen grant table supportdrivers/xen/Makefile drivers/xen/grant-table.c include/xen/grant_table.h +1 more+777 -190 replies
22/29xen: Add the Xenbus sysfs and virtual device hotplug driver.drivers/xen/Makefile drivers/xen/xenbus/Makefile drivers/xen/xenbus/xenbus_client.c +7 more+2959 -00 replies
23/29xen: Add Xen virtual block device driver.drivers/block/Kconfig drivers/block/Makefile drivers/block/xen-blkfront.c +2 more+998 -40 replies
24/29xen: rename xen netif_ structures to xen_netif_include/xen/interface/io/netif.h+11 -70 replies
25/29xen: Add the Xen virtual network device driver.drivers/net/Kconfig drivers/net/Makefile drivers/net/xen-netfront.c+1930 -024 replies
26/29xen: fix netfront checksumsdrivers/net/xen-netfront.c+68 -80 replies
27/29xen: Xen machine operationsarch/i386/xen/enlighten.c arch/i386/xen/smp.c+44 -30 replies
28/29xen: Place vcpu_info structure into per-cpu memory, if possiblearch/i386/xen/enlighten.c arch/i386/xen/setup.c include/xen/interface/vcpu.h+133 -90 replies
29/29xen: Attempt to patch inline versions of common operationsarch/i386/kernel/asm-offsets.c arch/i386/xen/Makefile arch/i386/xen/enlighten.c +2 more+190 -540 replies

Reviews trailers per patch

12 of 29 patches have a Reviewed-by or Acked-by.

PatchIngo MolnarZachary AmsdenChris WrightOlof Johansson
1/29A-b
2/29
3/29A-b
4/29
5/29
6/29
7/29
8/29
9/29
10/29
11/29A-b
12/29A-b
13/29A-b
14/29A-b
15/29
16/29A-b
17/29A-b
18/29A-b
19/29A-b
20/29A-b
21/29
22/29
23/29
24/29
25/29
26/29
27/29A-b
28/29
29/29

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [patch 00/29] xen: Xen implementation for paravirt_ops

Hi Andi,

This series of patches implements the Xen paravirt-ops interface. It applies to 2.6.21-git3 + ff patches-2.6.21-git3-070501-1.tar.gz.

Changes since the last posting:
- reviews of xenbus (me), netfront (hch, rusty, herbert xu) and blockfront (hch), with most comments addressed. Netfront review revealed a couple of real bugs, and the code for all three is looking cleaner overall.
- Folded bugfix patches into their main patch
- Lots of little style and other cleanups

There may be a trivial conflict in xen-hvc-console because of the lguest console.

These patches are now moderately well tested, with several successful runs through XenSource's regression test suite, and some amount of non-me testing. While I wouldn't go into production with a xen/paravirt_ops kernel right now, it does seem pretty functional.

This series generally restricts itself to Xen-specific parts of the tree, though it does make a few small changes elsewhere.

It includes:
- some helper routines for allocating address space and walking pagetables
- Xen interface header files
- Core Xen implementation
- Efficient late-pinning/early-unpinning pagetable handling
- Virtualized time, including stolen time
- SMP support
- Preemption support
- Batched pagetable updates
- Xen console, based on hvc console
- Xenbus
- Netfront, the paravirtualized network device
- Blockfront, the paravirtualized block device

Thanks,
J