Received: from eggs.gnu.org ([2001:4830:134:3::10]:40692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm3U5-0005lb-6U for qemu-devel@nongnu.org; Wed, 05 Nov 2014 11:31:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xm3Ty-0001Hx-QN for qemu-devel@nongnu.org; Wed, 05 Nov 2014 11:31:01 -0500 Received: from indium.canonical.com ([91.189.90.7]:50368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xm3Ty-0001Gy-Hv for qemu-devel@nongnu.org; Wed, 05 Nov 2014 11:30:54 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1Xm3Tw-00025Y-SA for ; Wed, 05 Nov 2014 16:30:52 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id D33F82E80C6 for ; Wed, 5 Nov 2014 16:30:52 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 05 Nov 2014 16:25:20 -0000 From: Chris J Arges <1387881@bugs.launchpad.net> Sender: bounces@canonical.com References: <20141030213425.6021.71128.malonedeb@soybean.canonical.com> Message-Id: <20141105162520.22256.55608.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1387881] Re: qemu fails to recognize full virtualization Reply-To: Bug 1387881 <1387881@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I can reproduce this in a VM: 1) boot a clean cloud images (uvt-kvm create lp1387881) 2) apt-get install virtinst 3) sudo virt-install --name juju-bootstrap --ram=3D2048 --vcpus=3D1 --hvm -= -virt-type=3Dkvm --pxe --boot network,hd --os-variant=3Dubuntutrusty --grap= hics vnc --noautoconsole --os-type=3Dlinux --accelerate --nodisks -d You'll get the following: $ sudo virt-install --name juju-bootstrap --ram=3D2048 --vcpus=3D1 --hvm --= virt-type=3Dkvm --pxe --boot network,hd --os-variant=3Dubuntutrusty --graph= ics vnc --noautoconsole --os-type=3Dlinux --accelerate --nodisks -d [Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (cli:227) Launched with= command line: /usr/bin/virt-install --name juju-bootstrap --ram=3D2048 --vcpus=3D1 --hvm = --virt-type=3Dkvm --pxe --boot network,hd --os-variant=3Dubuntutrusty --gra= phics vnc --noautoconsole --os-type=3Dlinux --accelerate --nodisks -d [Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (cli:332) Requesting li= bvirt URI default [Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (cli:334) Received libv= irt URI qemu:///system [Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (virt-install:258) Requ= esting virt method 'hvm', hv type 'kvm'. [Wed, 05 Nov 2014 16:23:29 virt-install 3297] ERROR (cli:445) Host does not= support virtualization type 'hvm' = [Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (cli:448) = Traceback (most recent call last): File "/usr/bin/virt-install", line 273, in get_virt_type machine=3Doptions.machine) File "/usr/lib/python2.7/dist-packages/virtinst/CapabilitiesParser.py", l= ine 736, in guest_lookup {'virttype' : osstr, 'arch' : archstr}) ValueError: Host does not support virtualization type 'hvm' -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1387881 Title: qemu fails to recognize full virtualization Status in QEMU: New Status in =E2=80=9Clinux=E2=80=9D package in Ubuntu: Invalid Status in =E2=80=9Cqemu=E2=80=9D package in Ubuntu: New Bug description: System: 14.04 qemu - 2.0.0+dfsg-2ubuntu1.6 virtinst 0.600.4-3ubuntu2 Command: virt-install --name juju-bootstrap --ram=3D2048 --vcpus=3D1 --hvm \ --virt-type=3Dkvm --pxe --boot network,hd --os-variant=3Dubuntutrusty \ --graphics vnc --noautoconsole --os-type=3Dlinux --accelerate \ --disk=3D/var/lib/libvirt/images/juju-bootstrap.qcow2,bus=3Dvirtio,format= =3Dqcow2,cache=3Dnone,sparse=3Dtrue,size=3D20 \ --network=3Dbridge=3Dbr0,model=3Dvirtio Error: ERROR Host does not support virtualization type 'hvm' Diagnostics: $ sudo kvm -vnc :1 -monitor stdio [sudo] password for cscloud: = QEMU 2.0.0 monitor - type 'help' for more information (qemu) KVM internal error. Suberror: 1 emulation failure EAX=3D00000000 EBX=3D40010000 ECX=3D00000030 EDX=3D00000cfd ESI=3D00000000 EDI=3D00000000 EBP=3D00000000 ESP=3D00006fcc EIP=3D0fedb30c EFL=3D00000002 [-------] CPL=3D0 II=3D0 A20=3D1 SMM=3D0 HL= T=3D0 ES =3D0010 00000000 ffffffff 00409300 DPL=3D0 DS [-WA] CS =3D0008 00000000 ffffffff 00c09a00 DPL=3D0 CS32 [-R-] SS =3D0010 00000000 ffffffff 00409200 DPL=3D0 DS [-W-] DS =3D0010 00000000 ffffffff 00409300 DPL=3D0 DS [-WA] FS =3D0010 00000000 ffffffff 00c09300 DPL=3D0 DS [-WA] GS =3D0010 00000000 ffffffff 00c09300 DPL=3D0 DS [-WA] LDT=3D0000 00000000 0000ffff 00008200 DPL=3D0 LDT TR =3D0000 00000000 0000ffff 00008b00 DPL=3D0 TSS32-busy GDT=3D 000f6688 00000037 IDT=3D 000f66c6 00000000 CR0=3D60000011 CR2=3D00000000 CR3=3D00000000 CR4=3D00000000 DR0=3D0000000000000000 DR1=3D0000000000000000 DR2=3D0000000000000000 DR3= =3D0000000000000000 = DR6=3D00000000ffff0ff0 DR7=3D0000000000000400 EFER=3D0000000000000000 Code=3D00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 0= 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0= 0 00 00 00 info kvm kvm support: enabled (qemu) = = > lsmod|grep kvm kvm_intel 143109 0 = kvm 451552 1 kvm_intel = $ dmesg|grep -i kvm [ 5.722167] kvm: Nested Virtualization enabled [ 5.722190] kvm: Nested Paging enabled --- I haven't been able to get much out of libvirt as the kvm instance never starts. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1387881/+subscriptions