Skip to content

Xen-paravirt_ops: Xen guest implementation for paravirt_ops interface

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24Xen-paravirt_ops: No need to use -traditional for processing asm in arch/i386/arch/i386/boot/Makefile arch/i386/boot/compressed/Makefile arch/i386/kernel/Makefile +2 more+5 -80 replies
2/24Xen-paravirt_ops: Clean up ELF note generationarch/i386/kernel/vmlinux.lds.S include/asm-generic/vmlinux.lds.h include/linux/elfnote.h+4 -40 replies
3/24Xen-paravirt_ops: Fix typo in sync_constant_test_bit()s name.include/asm-i386/sync_bitops.h+1 -10 replies
4/24Xen-paravirt_ops: ignore vgacon if hardware not presentdrivers/video/console/vgacon.c+2 -10 replies
5/24Xen-paravirt_ops: 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+210 -484 replies
6/24Xen-paravirt_ops: paravirt_ops: hooks to set up initial pagetablearch/i386/kernel/paravirt.c arch/i386/mm/init.c include/asm-i386/paravirt.h +1 more+148 -360 replies
7/24Xen-paravirt_ops: paravirt_ops: allocate a fixmap slotinclude/asm-i386/fixmap.h+3 -00 replies
8/24Xen-paravirt_ops: Allow paravirt backend to choose kernel PMD sharingarch/i386/kernel/paravirt.c arch/i386/mm/fault.c arch/i386/mm/init.c +8 more+105 -260 replies
9/24Xen-paravirt_ops: 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+46 -20 replies
10/24Xen-paravirt_ops: remove HAVE_ARCH_MM_LIFETIME, define no-op architecture implementationsinclude/asm-alpha/mmu_context.h include/asm-arm/mmu_context.h include/asm-arm26/mmu_context.h +25 more+218 -100 replies
11/24Xen-paravirt_ops: Add apply_to_page_range() which applies a function to a pte range.include/linux/mm.h mm/memory.c+99 -00 replies
12/24Xen-paravirt_ops: Allocate and free vmalloc areasarch/i386/mm/fault.c include/linux/vmalloc.h+47 -00 replies
13/24Xen-paravirt_ops: Add nosegneg capability to the vsyscall page notesarch/i386/kernel/vsyscall-note.S+28 -00 replies
14/24Xen-paravirt_ops: Add XEN config optionsarch/i386/Kconfig arch/i386/xen/Kconfig+12 -00 replies
15/24Xen-paravirt_ops: 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/24Xen-paravirt_ops: Core Xen implementationarch/i386/Makefile arch/i386/kernel/cpu/common.c arch/i386/kernel/entry.S +22 more+2875 -310 replies
17/24Xen-paravirt_ops: avoid having a bad selector in %gs during context switcharch/i386/kernel/process.c+8 -05 replies
18/24Xen-paravirt_ops: Some generic early printk & boot console fixupsarch/x86_64/kernel/early_printk.c drivers/char/tty_io.c kernel/printk.c+21 -303 replies
19/24Xen-paravirt_ops: Use the hvc console infrastructure for Xen consolearch/i386/xen/Kconfig arch/i386/xen/events.c drivers/Makefile +4 more+146 -10 replies
20/24Xen-paravirt_ops: Add early printk support via hvc consolearch/x86_64/kernel/early_printk.c drivers/xen/hvc-console.c+32 -00 replies
21/24Xen-paravirt_ops: Add Xen grant table supportdrivers/xen/Makefile drivers/xen/grant-table.c include/xen/grant_table.h+562 -00 replies
22/24Xen-paravirt_ops: Add the Xenbus sysfs and virtual device hotplug driver.arch/i386/xen/Kconfig drivers/xen/Makefile drivers/xen/xenbus/Makefile +9 more+3121 -00 replies
23/24Xen-paravirt_ops: Add Xen virtual block device driver.drivers/block/Kconfig drivers/block/Makefile drivers/block/xen/Kconfig +5 more+1232 -00 replies
24/24Xen-paravirt_ops: 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

1 of 24 patches has a Reviewed-by or Acked-by.

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

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

Hi Andi,

This patch series implements the Linux Xen guest as a paravirt_ops backend. 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 hvc console (console=hvc0)
* 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 needed by Xen
13-24: the Xen guest implementation itself

(Some of the earlier patches in the series have already been posted,
but are included to make the series self-contained.)

I've tried to make each patch as self-explanatory as possible. The series is based on 2.6.20-git16.

Changes since the previous posting:
- rebased
- xen-console has been replaced with a xen backend for the hvc console
- dropped patch to remove pgd ctor/dtor
- shared-kernel-pmd extensively reviewed by wli
- use vmalloc_sync_all in alloc_vm_area
- cleaned up Xen Kconfig stuff

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