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=2048 --vcpus=1 --hvm --virt-type=kvm --pxe --boot network,hd --os-variant=ubuntutrusty --graphics vnc --noautoconsole --os-type=linux --accelerate --nodisks -d
You'll get the following: $ sudo virt-install --name juju-bootstrap --ram=2048 --vcpus=1 --hvm --virt-type=kvm --pxe --boot network,hd --os-variant=ubuntutrusty --graphics vnc --noautoconsole --os-type=linux --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=2048 --vcpus=1 --hvm --virt-type=kvm --pxe --boot network,hd --os-variant=ubuntutrusty --graphics vnc --noautoconsole --os-type=linux --accelerate --nodisks -d [Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (cli:332) Requesting libvirt URI default [Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (cli:334) Received libvirt URI qemu:///system [Wed, 05 Nov 2014 16:23:29 virt-install 3297] DEBUG (virt-install:258) Requesting 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=options.machine) File "/usr/lib/python2.7/dist-packages/virtinst/CapabilitiesParser.py", line 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 “linux” package in Ubuntu: Invalid Status in “qemu” 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=2048 --vcpus=1 --hvm \ --virt-type=kvm --pxe --boot network,hd --os-variant=ubuntutrusty \ --graphics vnc --noautoconsole --os-type=linux --accelerate \ --disk=/var/lib/libvirt/images/juju-bootstrap.qcow2,bus=virtio,format=qcow2,cache=none,sparse=true,size=20 \ --network=bridge=br0,model=virtio 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=00000000 EBX=40010000 ECX=00000030 EDX=00000cfd ESI=00000000 EDI=00000000 EBP=00000000 ESP=00006fcc EIP=0fedb30c EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0010 00000000 ffffffff 00409300 DPL=0 DS [-WA] CS =0008 00000000 ffffffff 00c09a00 DPL=0 CS32 [-R-] SS =0010 00000000 ffffffff 00409200 DPL=0 DS [-W-] DS =0010 00000000 ffffffff 00409300 DPL=0 DS [-WA] FS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] GS =0010 00000000 ffffffff 00c09300 DPL=0 DS [-WA] LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy GDT= 000f6688 00000037 IDT= 000f66c6 00000000 CR0=60000011 CR2=00000000 CR3=00000000 CR4=00000000 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000ffff0ff0 DR7=0000000000000400 EFER=0000000000000000 Code=00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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