[Bug 445253] Re: libvirt.libvirtError: internal error no supported architecture for os type 'hvm'

Thijs Thiessens t.thiessens at meje.org
Mon Mar 8 16:00:26 GMT 2010


Hey all,

The problem still exists even with kvm enabled in the bios.

:~/vm1$ kvm-ok
INFO: Your CPU supports KVM extensions
INFO: /dev/kvm exists
KVM acceleration can be used

grep ' lm ' /proc/cpuinfo
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida tpr_shadow vnmi flexpriority
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida tpr_shadow vnmi flexpriority

~/vm1$ lsmod | grep kvm
kvm_intel              43848  0 
kvm                   162560  1 kvm_intel

command to create the KVM image:

sudo vmbuilder kvm ubuntu --suite=karmic --flavour=virtual -o
--libvirt=qemu:///system --tmpfs=- --ip=192.168.0.101
--part=vmbuilder.partition --templates=templates --user=pink
--name=Admin --pass=pink --addpkg=vim-nox --addpkg=unattended-upgrades
--addpkg=acpid --firstboot=boot.sh --mem=256 --hostname=vm1 --bridge=br0
--verbose


part of the output:

2010-03-08 16:57:31,469 INFO    : Copying to disk images
2010-03-08 16:57:43,248 INFO    : Installing bootloader
2010-03-08 16:57:53,245 INFO    : Unmounting target filesystem
2010-03-08 16:57:59,515 INFO    : Converting /tmp/vmbuilderZIy1bs/disk0.img to qcow2, format ubuntu-kvm/disk0.qcow2
2010-03-08 16:58:30,334 INFO    : Converting /tmp/vmbuilderZIy1bs/disk1.img to qcow2, format ubuntu-kvm/disk1.qcow2
libvir: Domain Config error : internal error no supported architecture for os type 'hvm'
2010-03-08 16:59:22,648 INFO    : Cleaning up

Traceback (most recent call last):
  File "/usr/bin/vmbuilder", line 29, in <module>
    VMBuilder.run()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/__init__.py", line 65, in run
    frontend.run()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/cli/__init__.py", line 68, in run
    vm.create()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 490, in create
    self.deploy()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/vm.py", line 192, in deploy
    if getattr(plugin, 'deploy')():
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/libvirt/__init__.py", line 64, in deploy
    self.conn.defineXML(vmxml)
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1107, in defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirt.libvirtError: internal error no supported architecture for os type 'hvm'


~/vm1$ uname -a
Linux thijs-laptop 2.6.31-19-generic-pae #56-Ubuntu SMP Thu Jan 28 02:29:51 UTC 2010 i686 GNU/Linux

Thanks, Thijs Thiessens

-- 
libvirt.libvirtError: internal error no supported architecture for os type 'hvm'
https://bugs.launchpad.net/bugs/445253
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.



More information about the Ubuntu-server-bugs mailing list