You are not logged in.
Pages: 1
I am receiving an error when I try and create a vm:
travis@Glacier:log$ sudo virt-install -r 1024 -n ubuntu -f /home/travis/kvm/ubuntu.img --cdrom "/home/travis/software/operating systems/ubuntu/ubuntu-12.04.3-server-amd64.iso"
ERROR Host does not support any virtualization options
travis@Glacier:log$ My CPU supports virualization:
travis@Glacier:log$ egrep -m 1 "svm|vmx" /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 syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpidVirtualization is enabled in the bios. I have used VMWare Workstation and Virtualbox without issues on this machine.
I currently have libvirt 1.2.2 installed.
travis@Glacier:log$ virsh --version=long
Virsh command line tool of libvirt 1.2.2
See web site at http://libvirt.org/
Compiled with support for:
Hypervisors: QEMU/KVM LXC UML OpenVZ VMWare PHYP VirtualBox ESX Test
Networking: Remote Network Bridging Interface udev Nwfilter VirtualPort
Storage: Dir Disk Filesystem SCSI Multipath LVM
Miscellaneous: Daemon Nodedev Secrets Debug Readline ModularAny ideas?
Last edited by tjbenator (2014-03-16 14:37:29)
Offline
Is the proper kvm module loaded for your particular HW? Or are there any messages in the journal about 'KVM disabled by bios'?
I have a machine that tells me that the bios has KVM disabled despite it being enabled. I am fairly certain it is a firmware bug, but I have not investigated. That particular machine is used as a file server and doesn't have any virtualization running.
Offline
I did a search for "KVM" in the journal and nothing came up regarding KVM being disabled. It does show that I loaded the kernel modules last night and that I ran virt-install.
Modules loaded:
travis@Glacier:~$ lsmod | grep kvm
kvm_intel 131500 0
kvm 396221 1 kvm_intelOne core from /proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
stepping : 7
microcode : 0x710
cpu MHz : 3486.937
cache size : 10240 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
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 syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips : 7207.40
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:Last edited by tjbenator (2014-03-13 12:42:34)
Offline
Is there any other logs I can check? I have search journalctl for any instance of "KVM". I have also tailed journal whilst launching virt-install. I will try reseting the bios settings tonight and see if the makes any difference. Maybe even see if there is a bios update.
Thanks,
tjbenator
Last edited by tjbenator (2014-03-14 15:57:41)
Offline
What motherboard/bios do you have? I've had issue in the past where I've enabled all things virtualization in the bios, but I couldn't virtualize anything. I ended up having to disable trusted code execution and one other option that eludes me now. Maybe give that a try.
Offline
Just updated to the latest Bios version 4608.
My Motherboard: https://www.asus.com/Motherboards/P9X79/
Virtualbox works, KVM doesn't. I only see one setting in the BIOS regarding Virtualization and that is "Intel Virtualization Technology". If I turn it off, Virtualbox no longer works. Turn it on and Virtualbox works. KVM does not.
Toggling "Execute Disable Bit" has no effect on either Virtualbox nor KVM.
Offline
tjbenator,
i noticed you use virt-install , and not qemu directly .
(KVM code was merged into qemu a while ago).
Basically all we know sofar is that virt-install fails for you.
Try startin qemu directly to find out if the problem is with virt-install or with qemu.
example of a command i use to start an arch install in a VM, you 'll have to create the drive file yourself, check arch wiki on qemu for details about that.
qemu-x86_64 \
-machine type=pc,accel=kvm \
-cpu host \
-boot order=c \
-drive file=~/Virtual_Machines/arch-test/arch-test,if=virtio \
-net nic,model=virtio \
-soundhw es1370 \
-vga std \
-m 2048
-cdrom ~/Documents/Images/archlinux-2014.03.01-dual.iso \Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
That did the trick!
Thanks Everyone,
tjbenator
Offline
Pages: 1