Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2012 13:45:07 +0400
From:      Andrey Zonov <zont@FreeBSD.org>
To:        freebsd-emulation@FreeBSD.org
Subject:   [patch] fix kern.vm_guest in KVM
Message-ID:  <50D03B23.5050900@FreeBSD.org>

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

[-- Attachment #1 --]
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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJQ0DsmAAoJEBWLemxX/CvTlXcH/2qmoHkK4NxoZpPmE1jaG08A
lOfLPdGmoTVNDxB6zhTzKvGye3GnR4ETl4SMKyV8IOAMfSyrciKE5EoqAK7K8MEi
PbVwvxtl7WSBL3VPbPJwx8zZMPL0gTBfoQ6G7bT4l71IZIZJy2qIyWzxu9x1Uyoo
cXp8hflTt/ipgBRAv/LfM+kKx9Ha3iOWCmyzgb9k5YoH0FGlnibSVDumPx9lLHjH
1fdJCOROJJCXg9pGUFhTdr9JDKxLucBYky9COF/csCf7fS7iWtfVK1AOyrY20Ss8
pYrEC7dpgVQDxQVxPDlTQldD+HCbEJ4DpMFegxFXonibQgKqun5MZvZttqAkR1w=
=w2ZF
-----END PGP SIGNATURE-----

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