[patch] fix kern.vm_guest in KVM

Andrey Zonov zont at FreeBSD.org
Tue Dec 18 09:45:15 UTC 2012


Hi,

I found that FreeBSD doesn't detect that it is running in KVM.

Here is the kernel environment from this machine:

# kenv | grep ^smbios
smbios.bios.reldate="01/01/2007"
smbios.bios.vendor="Seabios"
smbios.bios.version="0.5.1"
smbios.chassis.maker="Red Hat"
smbios.memory.enabled="8388608"
smbios.socket.enabled="6"
smbios.socket.populated="6"
smbios.system.maker="Red Hat"
smbios.system.product="KVM"
smbios.system.version="RHEL 6.2.0 PC"
smbios.version="2.4"

I'm going to commit this patch [1], please review it.

[1] http://people.freebsd.org/~zont/patches/in_kvm.patch

-- 
Andrey Zonov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 535 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20121218/4772932f/attachment.sig>


More information about the freebsd-emulation mailing list