Skip to contentSkip to conversation

nested virtualization: xen-on-xen

PATCH Christoph Egger 2 participants 2 messages Jul 1, 2011

lore
Share & tools
lore
#0 lore raw

Hi Tim,

You report that you can boot Xen 4.0 on Xen-unstable but not Xen 4.1 or Xen-unstable on Xen-unstable, right?

I suppose the problem is that the l1 Dom0 hangs at boot.

Attached patch fixes this problem for me. Please give it a try.

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
tools/libxc/xc_cpuid_x86.c +0 -1
diff -r b7e5a2566332 -r 28b49fc064ea tools/libxc/xc_cpuid_x86.c
@@ -320,7 +320,6 @@ static void xc_cpuid_hvm_policy(
                       bitmaskof(X86_FEATURE_XSAVE)) : 0));
 
         regs[2] |= (bitmaskof(X86_FEATURE_HYPERVISOR) |
-                    bitmaskof(X86_FEATURE_TSC_DEADLINE) |
                     bitmaskof(X86_FEATURE_X2APIC));
 
         regs[3] &= (bitmaskof(X86_FEATURE_FPU) |

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

#1 lore raw

Hi,

Quoted 2 lines · Christoph Egger

You report that you can boot Xen 4.0 on Xen-unstable but not Xen 4.1 or Xen-unstable on Xen-unstable, right?

I have two firm datapoints: 32-bit 4.0 (as shipped in Debian Squeeze) works OK; 64-bit xen-unstable with a 64-bit debian testing kernel fails. I tried some other configurations but don't remember the details.

Quoted 1 line

I suppose the problem is that the l1 Dom0 hangs at boot.

The problem I saw was that during n1 dom0 boot the screen would go black and the cpu usage hit 100%. Sampling the vCPU state showed plausible hypercalls being made and it didn't seem to be stuck in one particular loop.

Quoted 1 line

Attached patch fixes this problem for me. Please give it a try.

Thanks. I tried this patch and it made no difference, though it's possible that I slipped up somewhere installing the new libxc.

If I get time next week I'll dig into it further.

Cheers,

Tim.

Signature · 3 lines
Tim Deegan <[email protected]>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)