User: Password:
Subscribe / Log in / New account

xen: initial domain support

From:  Stefano Stabellini <>
To:  <>
Subject:  [PATCH v2 00/10] xen: initial domain support
Date:  Mon, 4 Oct 2010 12:27:29 +0100
Message-ID:  <alpine.DEB.2.00.1009301536300.2864@kaball-desktop>
Cc:  <>, Jeremy Fitzhardinge <>, Stefano Stabellini <>
Archive-link:  Article

Hi all,
this series implements the basic support needed to boot Linux as initial
domain on Xen: the target is not to add full featured dom0 support in
the kernel but to be able to boot Linux on Xen on native.
We tried to minimize the impact to generic x86 code and interfaces and
since v2 of the series we were able to eliminate all the modifications
to non-Xen specific code.

Changes compared to v1:

- the last three patches that added Xen mtrr support have been removed;

- a new patch to mask the cpu mtrr feature from the cpuid on Xen has
been added instead.

This series depends on two other patch series not yet applied but
already sent to the list for comments a little while back:

Konrad's "Xen PCI frontend driver" series

my "PV on HVM: receive interrupts as xen events" series

The list of patches with a diffstat follows:

Ian Campbell (1):
      xen: use host E820 map for dom0

Jeremy Fitzhardinge (3):
      xen: remap GSIs as pirqs when running as initial domain
      xen: map a dummy page for local apic and ioapic in xen_set_fixmap
      xen: make hvc_xen console work for dom0.

Juan Quintela (2):
      xen: Initialize xenbus for dom0.
      xen: add the direct mapping area for ISA bus access

Qing He (1):
      xen: remap MSIs into pirqs when running as initial domain

Stefano Stabellini (3):
      xen: use vcpu_ops to setup cpu masks
      xen: introduce XEN_DOM0 as a silent option
      xen: mask the MTRR feature from the cpuid

 arch/x86/pci/xen.c                |  199 +++++++++++++++++++++++++++++++++----
 arch/x86/xen/Kconfig              |    5 +
 arch/x86/xen/enlighten.c          |    2 +
 arch/x86/xen/mmu.c                |   47 ++++++++-
 arch/x86/xen/setup.c              |   46 ++++++++-
 arch/x86/xen/smp.c                |    8 ++-
 drivers/char/hvc_xen.c            |   98 ++++++++++++------
 drivers/xen/events.c              |   73 +++++++++++++-
 drivers/xen/xenbus/xenbus_probe.c |   29 +++++-
 include/xen/events.h              |    5 +
 include/xen/interface/memory.h    |   28 +++++
 include/xen/interface/physdev.h   |   10 ++
 12 files changed, 489 insertions(+), 61 deletions(-)

A git tree with this and the other two series on top of Linux 2.6.36-rc1
is available here:

git:// 2.6.36-rc1-initial-domain-v2


Stefano Stabellini

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds