From owner-freebsd-emulation@FreeBSD.ORG Tue Dec 18 09:45:15 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A22F402 for ; Tue, 18 Dec 2012 09:45:15 +0000 (UTC) (envelope-from andrey@zonov.org) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) by mx1.freebsd.org (Postfix) with ESMTP id 86C928FC1A for ; Tue, 18 Dec 2012 09:45:14 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id c1so304073lah.23 for ; Tue, 18 Dec 2012 01:45:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :subject:x-enigmail-version:content-type:x-gm-message-state; bh=h5cyg9VKbGIlY+QltA3BZtk4qxwdHkpwmOn5gyN4kKs=; b=VKUvs9xXgSgXl76wufQ+yb/v0gScqclEBMSl+miuSNZgEH0N4Zc9fiyMsAxk8jtMcZ 9xHbSZeEHcXULZed/5BuHsUBLLQu+UtgyuDho9XttWPX1Tq27KY10WBe8VfY9Wgt4tSN FMczoPvLzXc5I6tkGzMCtRwHRyINMwb8IhgZqURwyPLwTmpaDXDR8lApOk4JUqI3s/h5 ivFBj8jGJlHNsiX0nn4sR070yL11Omr3KEPXE0c6CUJN7S3CbvOoO0yE2iZCiFT5Mba2 Mbf66mMc3v9uxpWoRXrtBjVKEgKFLHHY6dOA1L8TMAE0BSmD9YOoQ7WbifFmA10179CH 375g== X-Received: by 10.112.25.100 with SMTP id b4mr604099lbg.37.1355823912895; Tue, 18 Dec 2012 01:45:12 -0800 (PST) Received: from dhcp170-82-red.yandex.net (dhcp170-82-red.yandex.net. [95.108.170.82]) by mx.google.com with ESMTPS id s9sm533431lbc.12.2012.12.18.01.45.11 (version=SSLv3 cipher=OTHER); Tue, 18 Dec 2012 01:45:11 -0800 (PST) Sender: Andrey Zonov Message-ID: <50D03B23.5050900@FreeBSD.org> Date: Tue, 18 Dec 2012 13:45:07 +0400 From: Andrey Zonov User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-emulation@FreeBSD.org Subject: [patch] fix kern.vm_guest in KVM X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig21F8CB3886EF9B195FF5C5F9" X-Gm-Message-State: ALoCoQn7nzzR6hZ9U3v6k/f831vjFH137y4FDXgWim9yYwBV9w1rxbWqBGzJ/LH5fEAo1AmguMwQ X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 09:45:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig21F8CB3886EF9B195FF5C5F9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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=3D"01/01/2007" smbios.bios.vendor=3D"Seabios" smbios.bios.version=3D"0.5.1" smbios.chassis.maker=3D"Red Hat" smbios.memory.enabled=3D"8388608" smbios.socket.enabled=3D"6" smbios.socket.populated=3D"6" smbios.system.maker=3D"Red Hat" smbios.system.product=3D"KVM" smbios.system.version=3D"RHEL 6.2.0 PC" smbios.version=3D"2.4" I'm going to commit this patch [1], please review it. [1] http://people.freebsd.org/~zont/patches/in_kvm.patch --=20 Andrey Zonov --------------enig21F8CB3886EF9B195FF5C5F9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --------------enig21F8CB3886EF9B195FF5C5F9--