This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [PATCH 20 of 20] n2 MSR handling and capability exposure

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 20 of 20] n2 MSR handling and capability exposure
From: Christoph Egger <Christoph.Egger@xxxxxxx>
Date: Fri, 1 Jul 2011 11:54:16 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "eddie.dong@xxxxxxxxx" <eddie.dong@xxxxxxxxx>, Jeroen Groenewegen van der Weyden <groen692@xxxxxxxxx>
Delivery-date: Fri, 01 Jul 2011 02:55:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110701090145.GS9784@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1307607905@xxxxxxxxxxxxxxxxxxxx> <480cfcea095bddb2e7c4.1307607925@xxxxxxxxxxxxxxxxxxxx> <20110613082700.GA17634@xxxxxxxxxxxxxxxxxxxxxxx> <1A42CE6F5F474C41B63392A5F80372B2562BF1EC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20110615124527.GG17634@xxxxxxxxxxxxxxxxxxxxxxx> <4DFEE946.9070603@xxxxxxxxx> <4E0C84C8.1030804@xxxxxxxxx> <20110701090145.GS9784@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; NetBSD amd64; en-US; rv: Gecko/20110523 Lightning/1.0b3pre Thunderbird/3.1.10

KVM on Xen works for me. Also KVM on Xen on Xen.


On 07/01/11 11:01, Tim Deegan wrote:
Eddie?  Did you test with KVM guests?  Is this expected to work?


At 15:14 +0100 on 30 Jun (1309446872), Jeroen Groenewegen van der Weyden wrote:
Hi Tim/Eddi/Christoph,

I just gave it a go again with cs23640. But the behaviour is still the
same. so L1 becomes inresponsive after starting the second nested quest.
I can deliver any trace input you want/need.


Op 20-6-2011 8:31, Jeroen Groenewegen van der Weyden schreef:

Based on these patch series, I gave it go.
I noticed until now that the system becomes in-responsive a few second
after activating the second nested guest.
1) dom0 creates domu (pass)
2) domU creates first kvm guest (pass)
3) domU creates second kvm guest (fail)
after the third step the domu becomes in-responsive. eg no network /
vnc console response. in dom0 is shows domu is stil running.

I'm able to provide any input needed, just tell me what you need (and


My HW setup
mobo asus z8nr-d12
proc: 2 times e5645
mem: 96 GB

My goal/test
in short: HW ->  dom0 ->  domU ->  4 time kvm guest

opensuse 11.4 x86
xen: unstable cs 23553

domu (HVM)
mem: 8 GB
vcpu: 4

domu guests
1) qemu-kvm: propetary OS
2) qemu-kvm: propetary OS
3) qemu-kvm: SLES10SP3
4) qemu-kvm: SLES10SP3

Op 15-6-2011 14:45, Tim Deegan schreef:
At 10:29 +0800 on 14 Jun (1308047377), Dong, Eddie wrote:
+    case MSR_IA32_VMX_MISC:
+    case MSR_IA32_VMX_CR0_FIXED0:
+    case MSR_IA32_VMX_CR0_FIXED1:
+    case MSR_IA32_VMX_CR4_FIXED0:
+    case MSR_IA32_VMX_CR4_FIXED1:
+    case MSR_IA32_VMX_VMCS_ENUM:
+        gdprintk(XENLOG_WARNING, "VMX MSR %x not fully supported
yet.\n", msr);

Are you planning to fix this before checking in this series?  I'm
sure that at least MSR_IA32_VMX_VMCS_ENUM should be trivial, since you
define your own VMCS format.

Sure, the updated patch is attached.
Thanks.  I've applied the full series.  I cleaned up a few things for
the 32-bit build as well.



---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

Xen-devel mailing list