From patchwork Fri Apr 1 08:18:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 8721671 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 696969F36E for ; Fri, 1 Apr 2016 08:18:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C01732039E for ; Fri, 1 Apr 2016 08:18:21 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 91A0220398 for ; Fri, 1 Apr 2016 08:18:20 +0000 (UTC) Received: from localhost ([::1]:36539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aluHb-0003W1-O6 for patchwork-qemu-devel@patchwork.kernel.org; Fri, 01 Apr 2016 04:18:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aluHU-0003V1-D7 for qemu-devel@nongnu.org; Fri, 01 Apr 2016 04:18:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aluHP-0002xR-P7 for qemu-devel@nongnu.org; Fri, 01 Apr 2016 04:18:12 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:35152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aluHP-0002xB-Ie for qemu-devel@nongnu.org; Fri, 01 Apr 2016 04:18:07 -0400 Received: by mail-wm0-x244.google.com with SMTP id 139so2680092wmn.2 for ; Fri, 01 Apr 2016 01:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9aGfKTqXmFxrHRjpZaooUaGgaPqZer/guHPD21RkfZg=; b=KXjY8l90iicXP+49ByKZbUf9kDcGfT7+8ElL9AvErBJJQi819r3wpFCHzxoTyI/S9K HVW3w2HFK/NZ/qeRCR2yeUdbF1GbWIAhvVT9ArN2u3sGaAbqLkjm9POWl4m/YH8yiBMy BDXU6QGZkaBSDaeMLYeQGbUcXuYZILQlSeTU/1REJwX0AFQk2t3YRE+s7KpTt4XA3nfj 04mv2V6QKhH3MKdWWjAYHGqRy69ZtDGGo3yljQzg7fE863XB706BK75BDwTfYNXmQXNK WymKCeoC3Um6MfBpT7VJ7d2Np2lAMq/uwe9tjzEsN0aV2p46PkcIHpC+9MFyGy+N5vxW 4UGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=9aGfKTqXmFxrHRjpZaooUaGgaPqZer/guHPD21RkfZg=; b=ajf26yOZgqfz936jejJJnet37wS/+XLB51U4DZZ9hp/xgrkKreQHe6KnPBIfE40d1j euceXXDUxQhrwuL3pceqcToPNuNtdm/cE+Ku1d3nUa8uOkRaPck+Zm2Dzycnyk4MMPMM /zDsGwsmKi35FK3wb8dfTLT1Zowhcq4rvyG9RqNAAwCWKas1e8qcH+M4zrMYd3GeGCzm B/Fd8cH9BMpeg/OKcWaM79/pcnUphgbPMdokNMWNibOqvWbsIJ/vPzWVNOlMhjW7cetk Os1OS+UFo8VzDwnrE9yQ3oUuQ0w4JccK61few5karCXbFUxaPFrNp03wmI4COqKKzJbA X3vw== X-Gm-Message-State: AD7BkJKNC5xYBXPTDT5fIXFvjjgvJfJZkHWGt6VbSizdO/mx5UkSNGi5P+iE6x0JolajlA== X-Received: by 10.28.30.4 with SMTP id e4mr2277887wme.18.1459498686999; Fri, 01 Apr 2016 01:18:06 -0700 (PDT) Received: from donizetti.lan (94-39-141-76.adsl-ull.clienti.tiscali.it. [94.39.141.76]) by smtp.gmail.com with ESMTPSA id ys9sm12769449wjc.35.2016.04.01.01.18.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Apr 2016 01:18:06 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Fri, 1 Apr 2016 10:18:02 +0200 Message-Id: <1459498682-3871-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 2.5.5 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::244 Cc: Eduardo Habkost , Alex Williamson , Roman Kagan , "Denis V. Lunev" , KY Srinivasan , =?UTF-8?q?Andreas=20F=C3=A4rber?= Subject: [Qemu-devel] [PATCH for-2.6] target-i386: KVM loves Hyper-V! X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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! Cc: Andreas Färber 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 = &cpuid_data.entries[cpuid_i++]; c->function = 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 = strlen(cpu->hyperv_vendor_id);