All of lore.kernel.org
 help / color / mirror / Atom feed
* shadow_translated pv guests?
@ 2006-12-13 13:36 Gerd Hoffmann
  2006-12-13 13:51 ` Tim Deegan
  0 siblings, 1 reply; 8+ messages in thread
From: Gerd Hoffmann @ 2006-12-13 13:36 UTC (permalink / raw)
  To: Xen devel list

  Hi,

Are there any?  I've seen shadow mode fixes in unstable recently, but
trying to boot the vmlinux kernel built from the sparse tree with
features=auto_translated_physmap fails.  Is this supposed to work?  Or
you are using other auto-translated guest kernels?

cheers,
  Gerd

-- 
Gerd Hoffmann <kraxel@suse.de>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: shadow_translated pv guests?
  2006-12-13 13:36 shadow_translated pv guests? Gerd Hoffmann
@ 2006-12-13 13:51 ` Tim Deegan
  2006-12-13 16:24   ` Gerd Hoffmann
  2006-12-13 17:33   ` Jeremy Fitzhardinge
  0 siblings, 2 replies; 8+ messages in thread
From: Tim Deegan @ 2006-12-13 13:51 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: Xen devel list

At 14:36 +0100 on 13 Dec (1166020610), Gerd Hoffmann wrote:
> Are there any?  I've seen shadow mode fixes in unstable recently, but
> trying to boot the vmlinux kernel built from the sparse tree with
> features=auto_translated_physmap fails.  Is this supposed to work?  Or
> you are using other auto-translated guest kernels?

At the moment, only the paravirt-ops kernels use translated mode, and
they don't do explicit MMU operations to update their pagetables. 

Cheers,

Tim.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: shadow_translated pv guests?
  2006-12-13 13:51 ` Tim Deegan
@ 2006-12-13 16:24   ` Gerd Hoffmann
  2006-12-13 17:34     ` Jeremy Fitzhardinge
  2006-12-13 17:33   ` Jeremy Fitzhardinge
  1 sibling, 1 reply; 8+ messages in thread
From: Gerd Hoffmann @ 2006-12-13 16:24 UTC (permalink / raw)
  To: Tim Deegan; +Cc: Xen devel list

Tim Deegan wrote:

> At the moment, only the paravirt-ops kernels use translated mode, and
> they don't do explicit MMU operations to update their pagetables. 

The paravirt-ops kernels (built from rusty's patch queue) fail to boot
for me (using a ttylinux ramdisk).  No matter whenever
CONFIG_XEN_SHADOW_MODE is enabled or not.  The shadow kernel dies quite
early at boot.  The non-shadow seems to fail execute init.

Hmm ...

  Gerd

-- 
Gerd Hoffmann <kraxel@suse.de>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: shadow_translated pv guests?
  2006-12-13 13:51 ` Tim Deegan
  2006-12-13 16:24   ` Gerd Hoffmann
@ 2006-12-13 17:33   ` Jeremy Fitzhardinge
  1 sibling, 0 replies; 8+ messages in thread
From: Jeremy Fitzhardinge @ 2006-12-13 17:33 UTC (permalink / raw)
  To: Tim Deegan; +Cc: Gerd Hoffmann, Xen devel list

Tim Deegan wrote:
> At the moment, only the paravirt-ops kernels use translated mode, and
> they don't do explicit MMU operations to update their pagetables. 
>   

Actually the paravirt_ops kernel does support full pv-mmu operation; its
use of shadow was a crutch from before I'd got all that going.  The main
reason pv_ops shadow mode is interesting at the moment is that 2.6.20
has the core of paravirt ops, but none of the mmu stuff, so we'll need
Xen to operate in shadow mode if we're to get it into 2.6.20.

That said, xen-unstable does still seem to have problems with shadow pv
guests; I've got !PAE to work, but PAE crashed Xen last time I tried.

    J

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: shadow_translated pv guests?
  2006-12-13 16:24   ` Gerd Hoffmann
@ 2006-12-13 17:34     ` Jeremy Fitzhardinge
  2006-12-14  7:31       ` Gerd Hoffmann
  2006-12-14 14:09       ` Gerd Hoffmann
  0 siblings, 2 replies; 8+ messages in thread
From: Jeremy Fitzhardinge @ 2006-12-13 17:34 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: Tim Deegan, Xen devel list

Gerd Hoffmann wrote:
> The paravirt-ops kernels (built from rusty's patch queue) fail to boot
> for me (using a ttylinux ramdisk).  No matter whenever
> CONFIG_XEN_SHADOW_MODE is enabled or not.  The shadow kernel dies quite
> early at boot.  The non-shadow seems to fail execute init.
>
> Hmm ...
>   

When did you last try? !SHADOW_MODE works for me, but there's been quite
a lot of flux in there over the last couple of days.  Chris Wright can't
make it work either, so I think there's something .config dependent in
there.

    J

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: shadow_translated pv guests?
  2006-12-13 17:34     ` Jeremy Fitzhardinge
@ 2006-12-14  7:31       ` Gerd Hoffmann
  2006-12-14 14:09       ` Gerd Hoffmann
  1 sibling, 0 replies; 8+ messages in thread
From: Gerd Hoffmann @ 2006-12-14  7:31 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Tim Deegan, Xen devel list

Jeremy Fitzhardinge wrote:
> When did you last try? !SHADOW_MODE works for me, but there's been quite
> a lot of flux in there over the last couple of days.  Chris Wright can't
> make it work either, so I think there's something .config dependent in
> there.

yesterday.  "make defconfig" and then the minimum set of changes needed
(pc not genericarch, smp off, paravirt everything on).

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: shadow_translated pv guests?
  2006-12-13 17:34     ` Jeremy Fitzhardinge
  2006-12-14  7:31       ` Gerd Hoffmann
@ 2006-12-14 14:09       ` Gerd Hoffmann
  2006-12-14 16:53         ` Ian Pratt
  1 sibling, 1 reply; 8+ messages in thread
From: Gerd Hoffmann @ 2006-12-14 14:09 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: Tim Deegan, Xen devel list

  Hi,

> When did you last try? !SHADOW_MODE works for me, but there's been quite
> a lot of flux in there over the last couple of days.  Chris Wright can't
> make it work either, so I think there's something .config dependent in
> there.

I'm trying to verify the rewritten domain builder works ok for shadow
translated guests, but for that I need a working environment in the
first place, right now I didn't manage to boot a single shadow
translated pv guest even with the old builder (3.0.4-rc1) ...

Related thing:  I've noticed even the shadow_translated kernels get a
p2m map by the domain builder, is it needed/used for something?

cheers,
  Gerd

-- 
Gerd Hoffmann <kraxel@suse.de>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: shadow_translated pv guests?
  2006-12-14 14:09       ` Gerd Hoffmann
@ 2006-12-14 16:53         ` Ian Pratt
  0 siblings, 0 replies; 8+ messages in thread
From: Ian Pratt @ 2006-12-14 16:53 UTC (permalink / raw)
  To: Gerd Hoffmann, Jeremy Fitzhardinge; +Cc: Tim Deegan, Xen devel list

> > When did you last try? !SHADOW_MODE works for me, but there's been
quite
> > a lot of flux in there over the last couple of days.  Chris Wright
can't
> > make it work either, so I think there's something .config dependent
in
> > there.
> 
> I'm trying to verify the rewritten domain builder works ok for shadow
> translated guests, but for that I need a working environment in the
> first place, right now I didn't manage to boot a single shadow
> translated pv guest even with the old builder (3.0.4-rc1) ...
> 
> Related thing:  I've noticed even the shadow_translated kernels get a
> p2m map by the domain builder, is it needed/used for something?

It could in principle be used by driver domains, but could be optional.

Ian


> --
> Gerd Hoffmann <kraxel@suse.de>
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-12-14 16:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 13:36 shadow_translated pv guests? Gerd Hoffmann
2006-12-13 13:51 ` Tim Deegan
2006-12-13 16:24   ` Gerd Hoffmann
2006-12-13 17:34     ` Jeremy Fitzhardinge
2006-12-14  7:31       ` Gerd Hoffmann
2006-12-14 14:09       ` Gerd Hoffmann
2006-12-14 16:53         ` Ian Pratt
2006-12-13 17:33   ` Jeremy Fitzhardinge

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.