From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [PATCH v3] kvm-unit-tests : Basic architecture of VMX nested test case Date: Tue, 30 Jul 2013 10:42:12 +0300 Message-ID: <20130730074212.GN18009@redhat.com> References: <1375020009-6225-1-git-send-email-yzt356@gmail.com> <20130730073115.GA2085@lea.sec.uni-passau.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Arthur Chunqi Li , kvm , Jan Kiszka , Paolo Bonzini To: Marius Vlad Return-path: Received: from mx1.redhat.com ([209.132.183.28]:36261 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753551Ab3G3HmR (ORCPT ); Tue, 30 Jul 2013 03:42:17 -0400 Content-Disposition: inline In-Reply-To: <20130730073115.GA2085@lea.sec.uni-passau.de> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jul 30, 2013 at 09:31:17AM +0200, Marius Vlad wrote: > Hi Arthur, > > I'm trying to test your patch on a SandyBridge machine. > > Used 'nested=1' when loading kvm (from 3.9-1-amd64) Should be kvm-intel, but you will get error otherwise, so I assume that this is what you did. > and qemu (emulator version 1.5.1 (Debian 1.5.0+dfsg-5)). > > Without nested=1 I get ``unhandled excecption 13'', so I presume > this is OK, with it, the test_vmx_capability() fails at > detecting vmx. > > I've used for qemu: > $ qemu-system-x86_64 -enable-kvm -device pc-testdev -device > isa-debug-exit,iobase=0xf4,iosize=0x4 -display none -serial stdio -device > pci-testdev -kernel x86/vmx.flat -cpu SandyBridge,+vmx,+x2apic -smp 1 > > Are there any knobs which I should further tune? > On the first glance you have everything that is needed. What is the output of "cat /proc/cpuinfo" in the guest is? -- Gleb.