Skip to contentSkip to conversation

shadow_translated pv guests?

DISCUSSION Gerd Hoffmann 4 participants 8 messages Dec 13, 2006 – Dec 14, 2006

lore
Share & tools
lore
#0 lore raw

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

Signature · 1 line
Gerd Hoffmann <[email protected]>
#1 lore raw
Quoted 4 lines · Gerd Hoffmann

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.

#2 lore raw
Quoted 2 lines · Tim Deegan

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

Signature · 1 line
Gerd Hoffmann <[email protected]>
#7 lore raw
In reply to Tim Deegan
Quoted 3 lines · Tim Deegan

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

#3 lore raw
In reply to Gerd Hoffmann
Quoted 7 lines · Gerd Hoffmann

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

#4 lore raw
Quoted 4 lines · Jeremy Fitzhardinge

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

#5 lore raw
In reply to Jeremy Fitzhardinge

Hi,

Quoted 4 lines

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

Signature · 1 line
Gerd Hoffmann <[email protected]>
#6 lore raw
Quoted 1 line
Quoted 1 line

When did you last try? !SHADOW_MODE works for me, but there's been

quite

Quoted 1 line
Quoted 1 line

a lot of flux in there over the last couple of days. Chris Wright

can't

Quoted 1 line
Quoted 1 line

make it work either, so I think there's something .config dependent

in

Quoted 9 lines
Quoted 1 line

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

Quoted 7 lines

--
Gerd Hoffmann <[email protected]>

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel