<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p><span style="font-size: 12pt;">Hello,</span><br>
</p>
<p>Currently I'm building a new homelab based on omnios (<span style="font-size: 12pt;">omnios-r151018)</span></p>
<p></p>
<p>There a kvm enabled zone is created and inside the zone I have 3 kvm-guests running. These guests are running oracle vm (xen based). All is running fine except if I want to start a linux-testvm inside oracle vm, the system complains about:</p>
<p><br>
</p>
<p>Error: HVM guest support is unavailable: is VT/AMD-V supported by your CPU and enabled in your BIOS?<br>
</p>
<p><br>
</p>
<p>Inside the kvm enabled zone, kvm is enabled:</p>
<p>root@ovm1:/root# ls -l /dev/kvm</p>
<p>crw------- 1 root sys 125, 0 Aug 10 12:48 /dev/kvm</p>
<p>root@ovm1:/root# modinfo |grep -i kvm</p>
<p>207 fffffffff840a000  3a030 125   1  kvm (kvm driver v0.1)</p>
<p></p>
<p>root@ovm1:/root#</p>
<p></p>
<p><br>
</p>
<p>For sure I checked the processor itself from the global zone if it is supported:</p>
<p># isainfo -v</p>
<p>64-bit amd64 applications</p>
<p><span class="Apple-tab-span" style="white-space:pre"></span>vmx pclmulqdq aes sse4.2 sse4.1 ssse3 popcnt tscp cx16 sse3 sse2</p>
<p><span class="Apple-tab-span" style="white-space:pre"></span>sse fxsr mmx cmov amd_sysc cx8 tsc fpu</p>
<p>32-bit i386 applications</p>
<p><span class="Apple-tab-span" style="white-space:pre"></span>vmx pclmulqdq aes sse4.2 sse4.1 ssse3 popcnt tscp ahf cx16 sse3</p>
<p></p>
<p><span class="Apple-tab-span" style="white-space:pre"></span>sse2 sse fxsr mmx cmov sep cx8 tic fpu</p>
<p><span style="font-size: 12pt;">#</span><br>
</p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p>and to me it looks I have the required flags available. </p>
<p>inside the lvm-guest the flags are indeed not given to the guest:</p>
<p><br>
</p>
<p>[root@ovm2 ~]# uname -s -r -i -p</p>
<p>Linux 2.6.39-400.279.1.el5uek x86_64 x86_64</p>
<p>[root@ovm2 ~]# cat /etc/oracle-release</p>
<p>Oracle VM Server release 5.7</p>
<p>[root@ovm2 ~]# grep flags /proc/cpuinfo</p>
<p>flags<span class="x_Apple-tab-span" style="white-space: pre;"> </span>: fpu de tsc msr pae mce cx8 apic sep mca cmov pat clflush mmx fxsr sse sse2 ss syscall nx lm constant_tsc up nopl pni ssse3 cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm</p>
<p>[root@ovm2 ~]#</p>
<p><br>
</p>
<p>it does not matter if I start the kvm guest using</p>
<p>-cpu host \<br>
</p>
<p>or using </p>
<p><span style="font-size: 12pt;">-cpu qemu64,+vmx,+aes,+sse4.2,+sse4.1,+ssse3 \  # --> this one is faster</span></p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">despite I have an intel cpu I use the -enable-nested flag as well, but it doesn't seem to make a difference.</span></p>
<p><br>
</p>
<p>How can I fix this?</p>
<p><br>
</p>
<p>Thanks and best regards,</p>
<p>Pieter</p>
<p></p>
</div>
</body>
</html>