Bug 877919 - No domains available for virt type 'hvm'
Summary: No domains available for virt type 'hvm'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-virtinst
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-19 09:03 UTC by Marcela Mašláňová
Modified: 2012-11-19 12:24 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-19 12:24:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
capabilities from virsh (8.00 KB, text/plain)
2012-11-19 09:39 UTC, Marcela Mašláňová
no flags Details

Description Marcela Mašláňová 2012-11-19 09:03:04 UTC
Description of problem:
Not sure whether this is problem of python-virtinst or virt-manager. I already installed all qemu and libvirt packages, but still can't install from kickstart.

btw I noticed strange thing:
which virt-install
/bin/virt-install
but:
rpm -ql python-virtinst
/usr/bin/virt-install

Version-Release number of selected component (if applicable):
python-virtinst-0.600.3-2.fc18.noarch

How reproducible:
/usr/bin/virt-install --connect qemu:///system --name el7.RHEL-7.0-20121012.1 --ram 1024 --disk path=/home/marca/virt-images/RHEL-7.0-20121012.1.img --network network=default --virt-type kvm --location http://download.eng.bos.redhat.com/rel-eng/RHEL-7.0-20121012.1/compose/Workstation/x86_64/os/
ERROR    No domains available for virt type 'hvm', arch 'x86_64', domain type 'kvm'

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Installation works on F-17.

Comment 1 Daniel Berrangé 2012-11-19 09:13:11 UTC
Have you got any of the QEMU binaries present in /usr/bin/qemu-system-XXXX and what does 'virsh -c qemu:///system capabilities' show

Comment 2 Marcela Mašláňová 2012-11-19 09:39:17 UTC
Installed:
/usr/bin/qemu-system-alpha
/usr/bin/qemu-system-arm
/usr/bin/qemu-system-cris
/usr/bin/qemu-system-i386
/usr/bin/qemu-system-lm32
/usr/bin/qemu-system-m68k
/usr/bin/qemu-system-microblaze
/usr/bin/qemu-system-microblazeel
/usr/bin/qemu-system-mips
/usr/bin/qemu-system-mips64
/usr/bin/qemu-system-mips64el
/usr/bin/qemu-system-mipsel
/usr/bin/qemu-system-or32
/usr/bin/qemu-system-ppc
/usr/bin/qemu-system-ppc64
/usr/bin/qemu-system-ppcemb
/usr/bin/qemu-system-s390x
/usr/bin/qemu-system-sh4
/usr/bin/qemu-system-sh4eb
/usr/bin/qemu-system-sparc
/usr/bin/qemu-system-sparc64
/usr/bin/qemu-system-unicore32
/usr/bin/qemu-system-x86_64
/usr/bin/qemu-system-xtensa
/usr/bin/qemu-system-xtensaeb

Comment 3 Marcela Mašláňová 2012-11-19 09:39:54 UTC
Created attachment 647633 [details]
capabilities from virsh

Comment 4 Daniel Berrangé 2012-11-19 09:42:47 UTC
Can you run 'virt-host-validate' as root & report its output

Comment 5 Marcela Mašláňová 2012-11-19 09:52:06 UTC
virt-host-validate
  QEMU: Checking for hardware virtualization: PASS
  QEMU: Checking for device /dev/kvm : FAIL (Check that the 'kvm-intel' or 'kvm-amd' modules are loaded & the BIOS has enabled virtualization)
  QEMU: Checking for device /dev/vhost-net: PASS
  QEMU: Checking for device /dev/net/tun: PASS
   LXC: Checking for Linux >= 2.6.26: PASS

Comment 6 Marcela Mašláňová 2012-11-19 12:24:12 UTC
I must say virt-host-validate is cool tool. I should know it sooner.

The virtualization wasn't enabled in BIOS, grr. Thanks for your help.


Note You need to log in before you can comment on or make changes to this bug.