From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alzof-000479-Fj for qemu-devel@nongnu.org; Fri, 01 Apr 2016 10:12:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alzoc-0006cs-82 for qemu-devel@nongnu.org; Fri, 01 Apr 2016 10:12:49 -0400 Received: from e34.co.us.ibm.com ([32.97.110.152]:41855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alzob-0006cb-Qn for qemu-devel@nongnu.org; Fri, 01 Apr 2016 10:12:46 -0400 Received: from localhost by e34.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 1 Apr 2016 08:12:44 -0600 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Roth In-Reply-To: <1459498682-3871-1-git-send-email-pbonzini@redhat.com> References: <1459498682-3871-1-git-send-email-pbonzini@redhat.com> Message-ID: <20160401141232.29150.18363@loki> Date: Fri, 01 Apr 2016 09:12:32 -0500 Subject: Re: [Qemu-devel] [PATCH for-2.6] target-i386: KVM loves Hyper-V! List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: Eduardo Habkost , qemu-stable@nongnu.org, Alex Williamson , Roman Kagan , "Denis V. Lunev" , KY Srinivasan , =?utf-8?q?Andreas_F=C3=A4rber?= Quoting Paolo Bonzini (2016-04-01 03:18:02) > Microsoft loves Linux, and Red Hat loves .NET. Since we can put whatever > we want in the Hyper-V vendor signature, let's show some love too! This might actually fix GPU passthrough for Nvidia cards when Hyper-V is enabled. Cc'ing qemu-stable@nongnu.org > = > Cc: Andreas F=C3=A4rber > Cc: Alex Williamson > Cc: Denis V. Lunev > Cc: Eduardo Habkost > Cc: Roman Kagan > Cc: KY Srinivasan > Signed-off-by: Paolo Bonzini > --- > target-i386/kvm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > = > diff --git a/target-i386/kvm.c b/target-i386/kvm.c > index 799fdfa..1968f04 100644 > --- a/target-i386/kvm.c > +++ b/target-i386/kvm.c > @@ -592,7 +592,7 @@ int kvm_arch_init_vcpu(CPUState *cs) > c =3D &cpuid_data.entries[cpuid_i++]; > c->function =3D HYPERV_CPUID_VENDOR_AND_MAX_FUNCTIONS; > if (!cpu->hyperv_vendor_id) { > - memcpy(signature, "Microsoft Hv", 12); > + memcpy(signature, "KVM<3HyperV!", 12); > } else { > size_t len =3D strlen(cpu->hyperv_vendor_id); > = > -- = > 2.5.5 > = >=20