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 Latest32 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/32xen: Add apply_to_page_range() which applies a function to a pte range.include/linux/mm.h mm/memory.c+99 -00 replies
2/32xen: Allocate and free vmalloc areasinclude/linux/vmalloc.h mm/vmalloc.c+55 -00 replies
3/32xen: Add nosegneg capability to the vsyscall page notesarch/i386/kernel/vsyscall-note.S include/asm-i386/elf.h+33 -42 replies
4/32xen: 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/32xen: Core Xen implementationarch/i386/Makefile arch/i386/kernel/entry.S arch/i386/kernel/head.S +13 more+1334 -10 replies
6/32xen: Xen virtual mmuarch/i386/xen/Makefile arch/i386/xen/enlighten.c arch/i386/xen/mmu.c +1 more+493 -50 replies
7/32xen: xen event channelsarch/i386/xen/Makefile arch/i386/xen/enlighten.c arch/i386/xen/events.c +1 more+542 -10 replies
8/32xen: xen time implementationarch/i386/xen/Makefile arch/i386/xen/enlighten.c arch/i386/xen/time.c+409 -10 replies
9/32xen: xen configurationarch/i386/Kconfig arch/i386/xen/Kconfig+14 -02 replies
10/32xen: 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/32xen: ignore RW mapping of RO pages in pagetable_initarch/i386/xen/enlighten.c+25 -20 replies
12/32xen: fix multicall batchingarch/i386/xen/enlighten.c arch/i386/xen/mmu.c arch/i386/xen/multicalls.c +2 more+71 -320 replies
13/32xen: Account for time stolen by Xenarch/i386/xen/time.c+105 -10 replies
14/32xen: Implement xen_sched_clockarch/i386/xen/enlighten.c arch/i386/xen/time.c arch/i386/xen/xen-ops.h+23 -40 replies
15/32xen: Xen SMP guest supportarch/i386/kernel/smp.c arch/i386/kernel/smpboot.c arch/i386/xen/Kconfig +13 more+717 -650 replies
16/32xen: Add support for preemptionarch/i386/xen/Kconfig arch/i386/xen/enlighten.c arch/i386/xen/mmu.c +2 more+89 -550 replies
17/32xen: lazy-mmu operationsarch/i386/xen/enlighten.c arch/i386/xen/mmu.c arch/i386/xen/multicalls.c+78 -380 replies
18/32xen: deal with negative stolen timearch/i386/xen/time.c+16 -30 replies
19/32xen: xen time fixupsarch/i386/xen/smp.c arch/i386/xen/time.c arch/i386/xen/xen-ops.h+67 -330 replies
20/32xen: Use the hvc console infrastructure for Xen consolearch/i386/xen/events.c drivers/Makefile drivers/char/Kconfig +3 more+149 -10 replies
21/32xen: 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
22/32xen: Add Xen grant table supportdrivers/xen/Makefile drivers/xen/grant-table.c include/xen/grant_table.h +1 more+777 -190 replies
23/32xen: Add the Xenbus sysfs and virtual device hotplug driver.drivers/xen/Makefile drivers/xen/xenbus/Makefile drivers/xen/xenbus/xenbus_client.c +8 more+3181 -00 replies
24/32xen: use xenbus_watch_pathfmt rather than watch_path2drivers/xen/xenbus/xenbus_client.c drivers/xen/xenbus/xenbus_probe.c include/xen/xenbus.h+33 -250 replies
25/32xen: rename dev_changed to xenbus_dev_changeddrivers/xen/xenbus/xenbus_probe.c drivers/xen/xenbus/xenbus_probe.h drivers/xen/xenbus/xenbus_probe_backend.c+4 -40 replies
26/32xen: Add Xen virtual block device driver.drivers/block/Kconfig drivers/block/Makefile drivers/block/xen/Kconfig +5 more+1231 -02 replies
27/32xen: Add the Xen virtual network device driver.drivers/net/Kconfig drivers/net/Makefile drivers/net/xen-netfront.c+1971 -02 replies
28/32xen: xen-netfront: use skb.cb for storing private datadrivers/net/xen-netfront.c+13 -50 replies
29/32xen: Lockdep fixes for xen-netfrontdrivers/net/xen-netfront.c+15 -150 replies
30/32xen: diddle netfrontdrivers/net/xen-netfront.c+17 -190 replies
31/32xen: --- drivers/net/xen-netfront.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/net/xen-netfront.c+3 -33 replies
32/32xen: Xen machine operationsarch/i386/xen/enlighten.c arch/i386/xen/smp.c+44 -30 replies

Reviews trailers per patch

3 of 32 patches have a Reviewed-by or Acked-by.

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

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

Hi Andi,

This series of patches implements the Xen paravirt-ops interface. It applies to 2.6.21 + 2.6.21-070428-1 + the patches I've posted over the last couple of days.

Changes since the last posting:
- update per review comments
- comment each file
- comment barrier use
- use common cpu sibling setup
- fixed a few minor bugs, specifically a traceirq mismatch warning
- some xenbus cleanups as a result of my review; more coming
- split xen-core into more pieces

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