From owner-svn-src-all@freebsd.org Fri Apr 8 09:49:14 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77EF1B08D21; Fri, 8 Apr 2016 09:49:14 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-lf0-x241.google.com (mail-lf0-x241.google.com [IPv6:2a00:1450:4010:c07::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F29941A17; Fri, 8 Apr 2016 09:49:13 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: by mail-lf0-x241.google.com with SMTP id t203so6454499lfd.0; Fri, 08 Apr 2016 02:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=Rs77qDe0GjJYo0CReZan0JkJyjT7TyA2uD94KO52tZY=; b=YgzvC462mY3UVY7HV6F7x6py1/Mg77sVtetOPwjcWSEUSyKezneI0vS6zGweCNx9Jq 4gb8ek9waZjiVYiD+IpKU1qy09iRU+y1nFTF6C2tKcgvbA5TC7BIShGMDPA2rgsmQoUL M0HAIByaGjU5hHY1Ni7i+kahbCXc10eMkW7QueP7WErr4LguxrkXNKCcL5ARO57UWxkw mlg1GaQsM9GxbkmoM6Ppjr6fiE/FSYWWqkKzxXrYrx5Yis7XygVYkpTsBUlb5rejfOae SamUD5M1MQ2K/nPprTOnlSQPLQbp/8WSdIh1CevY/S6rhXrYjQVDwGNLzV7LRb/9vzIQ wnyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=Rs77qDe0GjJYo0CReZan0JkJyjT7TyA2uD94KO52tZY=; b=ke3Pp3Wz+GQOxGglpHTjFm2GYBrwbftWytiWyj6ZRIYBx9oKERz4vbJ0C5WCxnPvxg gg1fE7y8OKKvNGo32qj2IEVuboiL8Gdc02LnEec5of3ZAA95Xucrn8+WF8YA9Cg/3JDa e67++L1aJi3NcPAepRnDAQJy1rCWKDgzJ3E4tmbS6l5d/9fRQxBlE4YyD79gCptKzQv2 KPhaTLlepxxEgu8sxa1YlqIfO5QgtnShBSkjnhtzVzCfNACh609G6NOPdrqwBDJdwv1v yPdopov8Ln4o+SHLNclFCKyp+QrjpvgsSAze+u5MvGXWW6pv8c6HMAqbJr+wR+8nRwJN VocQ== X-Gm-Message-State: AD7BkJJUh4xz/9TgWP4myRg7VNg3dFUQ2FYdY21NSdbL8IMBkEZIDPiPk2HJyS/xm4iT4A== X-Received: by 10.25.168.67 with SMTP id r64mr2720874lfe.104.1460108952244; Fri, 08 Apr 2016 02:49:12 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (mavhome.mavhome.dp.ua. [213.227.240.37]) by smtp.googlemail.com with ESMTPSA id vs3sm1903104lbb.4.2016.04.08.02.49.10 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Apr 2016 02:49:11 -0700 (PDT) Message-ID: <57077E95.1030505@gmail.com> Date: Fri, 08 Apr 2016 12:49:09 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Konstantin Belousov , Sepherosa Ziehau CC: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r297699 - head/sys/dev/hyperv/vmbus References: <201604080920.u389KliR048702@repo.freebsd.org> <20160408094248.GM1741@kib.kiev.ua> In-Reply-To: <20160408094248.GM1741@kib.kiev.ua> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 09:49:14 -0000 On 08.04.16 12:42, Konstantin Belousov wrote: > On Fri, Apr 08, 2016 at 09:20:47AM +0000, Sepherosa Ziehau wrote: >> Author: sephe >> Date: Fri Apr 8 09:20:46 2016 >> New Revision: 297699 >> URL: https://svnweb.freebsd.org/changeset/base/297699 >> >> Log: >> hyperv: Revert r297481 >> >> Use vm_guest == VM_GUEST_HV is not enough to determine whether FreeBSD >> is running on Hyper-V or not. What a mess. > > Can you explain why ? > > VM_GUEST_HV is only set in inentify_hypervisor() when the vendor string > explicitely contained 'Microsoft Hv'. How can this be mis-interpreted > to be a Xen id ? Xen has some odd "Hyper-V compatibility mode", that is identified as Hyper-V, but not very compatible in practice. -- Alexander Motin