Skip to content

Xen-paravirt: Xen guest implementation for paravirt_ops interface

Jeremy Fitzhardinge linux-mm lkml netdev virtualization xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 86 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21Xen-paravirt: Fix typo in sync_constant_test_bit()s name.include/asm-i386/sync_bitops.h+1 -10 replies
2/21Xen-paravirt: ignore vgacon if hardware not presentdrivers/video/console/vgacon.c+2 -10 replies
3/21Xen-paravirt: Add pagetable accessors to pack and unpack pagetable entriesarch/i386/kernel/paravirt.c arch/i386/kernel/vmlinux.lds.S include/asm-i386/page.h +3 more+202 -350 replies
4/21Xen-paravirt: ===================================================================+0 -02 replies
5/21Xen-paravirt: paravirt_ops: hooks to set up initial pagetablearch/i386/kernel/paravirt.c arch/i386/mm/init.c include/asm-i386/paravirt.h +1 more+150 -360 replies
6/21Xen-paravirt: paravirt_ops: allocate a fixmap slotinclude/asm-i386/fixmap.h+3 -00 replies
7/21Xen-paravirt: remove ctor for pgd cachearch/i386/mm/init.c arch/i386/mm/pgtable.c include/asm-i386/pgtable.h+14 -116 replies
8/21Xen-paravirt: Allow paravirt backend to choose kernel PMD sharingarch/i386/kernel/paravirt.c arch/i386/mm/fault.c arch/i386/mm/pageattr.c +8 more+68 -430 replies
9/21Xen-paravirt: Allow paravirt backend to select PGD allocation alignmentarch/i386/kernel/paravirt.c arch/i386/mm/init.c include/asm-i386/paravirt.h +1 more+12 -20 replies
10/21Xen-paravirt: add hooks to intercept mm creation and destructionarch/i386/kernel/paravirt.c include/asm-i386/mmu_context.h include/asm-i386/paravirt.h +3 more+58 -25 replies
11/21Xen-paravirt: Add apply_to_page_range() which applies a function to a pte range.include/linux/mm.h mm/memory.c+99 -05 replies
12/21Xen-paravirt: Allocate and free vmalloc areasinclude/linux/vmalloc.h mm/vmalloc.c+70 -027 replies
13/21Xen-paravirt: Add nosegneg capability to the vsyscall page notesarch/i386/kernel/vsyscall-note.S+28 -01 reply
14/21Xen-paravirt: Add XEN config options and disable unsupported config options.arch/i386/Kconfig arch/i386/Kconfig.debug arch/i386/xen/Kconfig +2 more+19 -422 replies
15/21Xen-paravirt: Add Xen interface header filesinclude/asm-i386/xen/hypercall.h include/asm-i386/xen/hypervisor.h include/asm-i386/xen/interface.h +16 more+2901 -00 replies
16/21Xen-paravirt: Core Xen implementationarch/i386/Makefile arch/i386/kernel/cpu/common.c arch/i386/kernel/entry.S +23 more+2878 -260 replies
17/21Xen-paravirt: Add the Xen virtual console driver.arch/i386/kernel/early_printk.c drivers/Makefile drivers/xen/Makefile +5 more+753 -01 reply
18/21Xen-paravirt: Add Xen grant table supportdrivers/xen/Makefile drivers/xen/core/Makefile drivers/xen/core/grant_table.c +1 more+555 -02 replies
19/21Xen-paravirt: Add the Xenbus sysfs and virtual device hotplug driver.arch/i386/xen/Kconfig drivers/xen/Makefile drivers/xen/xenbus/Makefile +9 more+3124 -00 replies
20/21Xen-paravirt: Add Xen virtual block device driver.drivers/block/Kconfig drivers/block/Makefile drivers/block/xen/Kconfig +5 more+1232 -00 replies
21/21Xen-paravirt: Add the Xen virtual network device driver.drivers/net/Kconfig drivers/net/Makefile drivers/net/xen-netfront.c +1 more+2082 -00 replies

Reviews trailers per patch

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

PatchZachary Amsden
1/21
2/21
3/21
4/21
5/21
6/21
7/21A-b
8/21
9/21
10/21
11/21
12/21
13/21A-b
14/21A-b
15/21
16/21
17/21
18/21
19/21
20/21
21/21

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/21] Xen-paravirt: Xen guest implementation for paravirt_ops interface

Hi Andi,

This patch series implements the Linux Xen guest in terms of the paravirt-ops interface. The features in implemented this patch series are:
* domU only
* UP only (most code is SMP-safe, but there's no way to create a new vcpu)
* writable pagetables, with late pinning/early unpinning
(no shadow pagetable support)
* supports both PAE and non-PAE modes
* xen console
* virtual block device (blockfront)
* virtual network device (netfront)

The patch series is in two parts:

1-12: cleanups to the core kernel, either to fix outright problems,
or to add appropriate hooks for Xen
13-21: the Xen guest implementation itself

I've tried to make each patch as self-explanatory as possible. The series is based on git changeset ec2f9d1331f658433411c58077871e1eef4ee1b4 + x86_64-2.6.20-git8-070213-1.patch.

Changes since the previous posting:
- rebased
- addressed review comments:
- deal with missing vga hardware better
- deal with Andi's comments
- clean up header file placement
- update netfront, and move it into drivers/net

I looked at linking in xen-head.S rather than including it into xen-head.S, but it seems to provoke linker bugs, so I've left it as-is for now.

Thanks,
J