LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
  • [parent not found: <20070213221830.466651996@goop.org>]
  • [parent not found: <20070213221830.542511707@goop.org>]
  • [parent not found: <20070213221830.238235953@goop.org>]
  • [parent not found: <20070213221829.845132535@goop.org>]
  • [parent not found: <20070213221829.513618819@goop.org>]
  • [parent not found: <20070213221830.707197267@goop.org>]
  • [parent not found: <20070213221831.150207238@goop.org>]
  • [parent not found: <20070213221830.619562494@goop.org>]
  • * [patch 00/21] Xen-paravirt: Xen guest implementation for paravirt_ops interface
    @ 2007-02-16  2:24 Jeremy Fitzhardinge
      2007-02-16  2:25 ` [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options Jeremy Fitzhardinge
      0 siblings, 1 reply; 49+ messages in thread
    From: Jeremy Fitzhardinge @ 2007-02-16  2:24 UTC (permalink / raw)
      To: Andi Kleen
      Cc: Andrew Morton, linux-kernel, virtualization, xen-devel,
    	Chris Wright, Zachary Amsden
    
    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
    
    -- 
    
    
    ^ permalink raw reply	[flat|nested] 49+ messages in thread
    * Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.
    @ 2007-02-16 10:09 Keir Fraser
      2007-02-16 10:19 ` [Xen-devel] " Zachary Amsden
      0 siblings, 1 reply; 49+ messages in thread
    From: Keir Fraser @ 2007-02-16 10:09 UTC (permalink / raw)
      To: Jeremy Fitzhardinge, Andrew Morton
      Cc: Dan Hecht, Andi Kleen, Chris Wright, virtualization, xen-devel,
    	Ian Pratt, linux-kernel, Steven Hand
    
    On 16/2/07 07:25, "Jeremy Fitzhardinge" <jeremy@goop.org> wrote:
    
    >> Oh, so that's why it doesn't break when CONFIG_PREEMPT=y.  In which case
    >> that preempt_disable() I spotted is wrong-and-unneeded.
    >> 
    >> Why doesn't Xen work with preemption??
    > 
    > I've forgotten the details.  Ian?  Keir?  Steven?  Maybe it can be done.
    
    It breaks guest save/restore for us currently because threads can be
    sleeping with machine addresses in local storage (registers, stack). There
    are a few ways to achieve an acceptable solution:
    
     1. Put processes in the freezer when we suspend. This should avoid any
    thread being in a critical section with machine addresses in its hand. We
    haven't yet investigated the performance impact of freezing processes,
    particularly on the downtime of live relocation.
    
     2. Allow CONFIG_PREEMPT to be compiled in, but disable it at runtime. We
    could do this by, for example, reserving a bit in preempt_count() so that
    most preemption checks do not touch any more cache lines. I guess it would
    need a bit of fixing up (e.g., so that in_atomic() would not be always
    asserted). Even better for us would be to allow switching between
    involuntary and voluntary preemption at runtime. It looks as though the hook
    points for these two techniques are not usually compiled in at the same
    time, however.
    
     -- Keir
    
    
    ^ permalink raw reply	[flat|nested] 49+ messages in thread

    end of thread, other threads:[~2007-02-17  4:05 UTC | newest]
    
    Thread overview: 49+ messages (download: mbox.gz / follow: Atom feed)
    -- links below jump to the message on this page --
         [not found] <20070213221729.772002682@goop.org>
         [not found] ` <20070213221829.929261125@goop.org>
    2007-02-13 22:39   ` [patch 06/21] Xen-paravirt: remove ctor for pgd cache Zachary Amsden
         [not found] ` <20070213221830.466651996@goop.org>
    2007-02-13 22:45   ` [patch 13/21] Xen-paravirt: Add nosegneg capability to the vsyscall page notes Zachary Amsden
    2007-02-13 22:49     ` Jeremy Fitzhardinge
    2007-02-13 22:54       ` Zachary Amsden
    2007-02-13 23:13         ` Jeremy Fitzhardinge
    2007-02-14  5:38     ` [Xen-devel] " Rusty Russell
         [not found] ` <20070213221830.542511707@goop.org>
    2007-02-13 22:53   ` [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options Dan Hecht
    2007-02-13 23:29     ` Jeremy Fitzhardinge
    2007-02-13 23:58       ` [Xen-devel] " Zachary Amsden
    2007-02-13 23:58       ` Dan Hecht
         [not found] ` <20070213221830.238235953@goop.org>
    2007-02-14  1:06   ` [patch 10/21] Xen-paravirt: Name: dont export paravirt_ops structure, do individual functions Zachary Amsden
    2007-02-14  1:16     ` Jeremy Fitzhardinge
    2007-02-14  1:18       ` Zachary Amsden
    2007-02-14  1:37         ` Jeremy Fitzhardinge
    2007-02-14  1:43           ` Zachary Amsden
    2007-02-14  1:44             ` Jeremy Fitzhardinge
    2007-02-14  5:51     ` Rusty Russell
    2007-02-14 19:36     ` Christoph Hellwig
         [not found] ` <20070213221829.845132535@goop.org>
    2007-02-14  1:23   ` [patch 05/21] Xen-paravirt: paravirt_ops: allocate a fixmap slot Dan Hecht
    2007-02-14  1:36     ` Jeremy Fitzhardinge
    2007-02-14  2:34       ` Dan Hecht
    2007-02-14  8:43         ` Gerd Hoffmann
    2007-02-14  8:37       ` [Xen-devel] " Jan Beulich
    2007-02-14  9:15         ` Andi Kleen
         [not found] ` <20070213221829.513618819@goop.org>
    2007-02-14  9:24   ` [patch 02/21] Xen-paravirt: Handle a zero-sized VT console Gerd Hoffmann
         [not found] ` <20070213221830.707197267@goop.org>
    2007-02-13 23:54   ` [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen Andi Kleen
    2007-02-14  0:39     ` Jeremy Fitzhardinge
    2007-02-14  8:56       ` [Xen-devel] " Jan Beulich
    2007-02-14 18:53     ` Jeremy Fitzhardinge
    2007-02-14 20:10       ` Eric W. Biederman
    2007-02-14 20:41         ` Jeremy Fitzhardinge
    2007-02-14 21:06           ` Eric W. Biederman
    2007-02-15  0:13             ` Jeremy Fitzhardinge
    2007-02-15  1:39               ` Eric W. Biederman
    2007-02-15  1:52                 ` Jeremy Fitzhardinge
    2007-02-15  2:18                   ` Eric W. Biederman
    2007-02-15  2:23                     ` Jeremy Fitzhardinge
    2007-02-15  2:41                       ` Eric W. Biederman
    2007-02-14 20:33   ` Eric W. Biederman
    2007-02-14 20:42     ` Jeremy Fitzhardinge
         [not found] ` <20070213221831.150207238@goop.org>
    2007-02-14 20:40   ` [patch 21/21] Xen-paravirt: Add the Xen virtual network device driver Eric W. Biederman
         [not found] ` <20070213221830.619562494@goop.org>
    2007-02-14 20:45   ` [patch 15/21] Xen-paravirt: Add Xen interface header files Eric W. Biederman
    2007-02-15  0:10     ` Jeremy Fitzhardinge
    2007-02-15 17:32       ` Christoph Hellwig
    2007-02-16  2:24 [patch 00/21] Xen-paravirt: Xen guest implementation for paravirt_ops interface Jeremy Fitzhardinge
    2007-02-16  2:25 ` [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options Jeremy Fitzhardinge
    2007-02-16  6:15   ` Zachary Amsden
    2007-02-16  7:33     ` Eric W. Biederman
    2007-02-16 13:53       ` [Xen-devel] " Gerd Hoffmann
    2007-02-16 10:09 Keir Fraser
    2007-02-16 10:19 ` [Xen-devel] " Zachary Amsden
    2007-02-16 10:44   ` Keir Fraser
    2007-02-16 10:55     ` Zachary Amsden
    2007-02-17  4:04   ` Rusty Russell
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).