From owner-svn-src-all@freebsd.org Fri Apr 8 10:48:33 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 3A57BB0839C; Fri, 8 Apr 2016 10:48:33 +0000 (UTC) (envelope-from howard0su@gmail.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (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 F2A2616E9; Fri, 8 Apr 2016 10:48:32 +0000 (UTC) (envelope-from howard0su@gmail.com) Received: by mail-io0-x22f.google.com with SMTP id 2so127177132ioy.1; Fri, 08 Apr 2016 03:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=O1maRLVCz5yteMmd5nL7hyZrNhQOohuI3n2FldGN1ko=; b=gfAF+gM0QXG8bSXVgPtjVDcwcNF3aewv8bz7w8XCEhzMLtXi0370r097FUfRBIReJt uDBcKkdS9jss/A2GQSW5ThD0H+Uaubl0m7X1+/x8MsbgPF6GjXzlsrBgqvXZ06lpPhC+ 6EWCUzMBP2BgOF3h8klGbIJ+JLI3F2zNjzxf3XyzpsEHitM7IKvQvYDpRQCuJcYefz87 EkSuVvLwlnn+TrESOsydHZWc2Rso7mLZpz/Sud27WBIi3UlGtv5ATWdOu5Cr/v5akGz1 eu7S3EvYVx/d7n0PGD97ePt/V0cOG6HvE7FuruSbX+VQx5adFcQMvsvSRw9KoIxUDNU1 nnEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O1maRLVCz5yteMmd5nL7hyZrNhQOohuI3n2FldGN1ko=; b=Usbs8HUtxHIKoXzSc7jNdGlz8ivZTv/VlNk2svmmBF64Fv+8VvmMIbb3fsBe6EX6rl uWfiZEG7GIMX/jWUjGkGnCdSKCA/4bczjqVBkfXI1X2dJ9Sh0NqhO4euMvI4LP+EjfeP eCu2oDApI6qG6hU0eUhbIGeaft9H+VLZOYkU1WgqS6CJ2+yExYOjgMmKL2aODEHusxRW S0d8e4TtVUo8okHcLEPT7n2oLzDNuERPBY57D5/69DKoVL8gXktzZAmLhgc4ZZDVP7t8 pWsP71KrxdFDWd+o7szqruReFU2Wc6Tg38FRNCndtdxRI200d8Pn7ZB/DJajeNMLQGRI lUBA== X-Gm-Message-State: AD7BkJL271Xgw1F5ts+fYyLXeUL32wtXMObETmAuWKxZRB7MifOiOy306UOxFe6LVdHU0JiLCbfG+Db6/Lbmkw== X-Received: by 10.107.7.23 with SMTP id 23mr7999805ioh.64.1460112512241; Fri, 08 Apr 2016 03:48:32 -0700 (PDT) MIME-Version: 1.0 References: <201604080920.u389KliR048702@repo.freebsd.org> <20160408094248.GM1741@kib.kiev.ua> <57077E95.1030505@gmail.com> In-Reply-To: <57077E95.1030505@gmail.com> From: Howard Su Date: Fri, 08 Apr 2016 10:48:22 +0000 Message-ID: Subject: Re: svn commit: r297699 - head/sys/dev/hyperv/vmbus To: Alexander Motin , Konstantin Belousov , Sepherosa Ziehau Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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 10:48:33 -0000 On Fri, Apr 8, 2016 at 5:49 PM Alexander Motin wrote: > 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. > Per hyper-V document, it needs more checks about if one feature is available on certain hypervisor. As far as I know, KVM, QEMU (after 1.1), VirtualBox all have the simliar Windows hypervisor emulation mode to make Windows Runs faster. So we need handle this more strictly following the spec. There is already a patch under testing now, which may reach the tree soon. > > -- > Alexander Motin > _______________________________________________ > svn-src-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" >