It took me a little while to narrow this down. Building a kvm guest with vmbuilder via libvirt I was getting the error “unknown OS type hvm”. When I compared the output of ‘virsh capabilities’ on a good host and the one that wasn’t working, the later was missing the kvm hvm entries. When I checked out the init script for kvm, I realized the the kernel module wasn’t loaded and a quick check of dmesg confirmed that virtualization was disabled in the bios.
Recent Posts
- Dependant Paradigms
- Amazon ELB requires CRLF for HTTP Requests
- an evening with Munin graph aggregation
- Setting a permanent Windows Hostname on EC2
- Configuration Management vs Meatcloud: 5 reasons CM wins
- Moar unofficial chef 0.7.16.2
- Got recursion not available and Cisco SSL VPN
- Chef 0.7.16wt1 fork and more 0.8 alpha notes
- knife, or, my tool is actually a library
- Error 80070005 accessing SSIS/DTS on SQL 2008 and Server 2008
Archives
What I'm Doing...
- I know its nice out, but if I take @SoundTransit Link to Beacon Hill to water for @Alleycat_Acres, I get bike AND transit! 10 hrs ago
- @seabikeblog @seatransitblog good start: http://seattletimes.nwsource.com/html/localnews/2011916843_bikehazard21m.html @MikeLindblom 11 hrs ago
- @seabikeblog http://thepapernoose.blogspot.com/2010/07/waiting-for-train-at-lucile.html AWS over Argo Yard detour 16 hrs ago
- More updates...
Posting tweet...
Powered by Twitter Tools.
Holy crap thank you. This saved my sanity.
Yeah,I met the same problem and then I found I forget to load the kvm module after restart the computer.
I owe you a beer…
Hi folks, just to add two cents. If you try to create a vm using a xml file from another server (generally with older virsh), you can get this error too. Solution:
1) Run command “virsh capabilities”
2) Based on virsh results, update two attributes on xml file: and
It worked for me.
Anyway, I owe you a beer too for insightful post.