Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2016 15:46:34 +0200
From:      gabor@zahemszky.hu
To:        freebsd-virtualization@freebsd.org
Subject:   bhyve in KVM
Message-ID:  <52c4dc22732575fd86f907a77705355d@zahemszky.hu>

next in thread | raw e-mail | index | archive | help
Hi!

I tried the 11-beta4 in a KVM (qemu) virtual machine. In Linux, the 
nested KVM functionality is enabled. I started the VM with:

qemu-system-x86_64 -enable-kvm -cpu host,+vmx -m 512 FBSD.qcow2

And here is processor info in the FreeBSD VM:

CPU: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz (2294.49-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x306d4  Family=0x6  Model=0x3d  Stepping=4
  
Features=0xf83fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,SS>
  
Features2=0xfffa3223<SSE3,PCMULQDQ,VMX,SSSE3,FMA,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND,HV>
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x121<LAHF,Abm,Prefetch>
  Structured Extended 
Features=0x1c0f3a<TSCADJ,BMI1,HLE,AVX2,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,>
  XSAVE Features=0x1<XSAVEOPT>
  VT-x: (disabled in BIOS) PAT,HLT,PAUSE,EPT,UG
Hypervisor: Origin = "KVMKVMKVM"

First of all, what is this Disabled in BIOS?
Second, what needs to use bhyve, az kldloading vmm I got:
vmx_init: processor does not support desired basic capabilities
module_register_init: MOD_LOAD (vmm, 0xffffffff8221c4e0, 0) error 22

What's missing?

Thanks,

Gábor Zahemszky



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52c4dc22732575fd86f907a77705355d>