qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.6] target-i386: KVM loves Hyper-V!
@ 2016-04-01  8:18 Paolo Bonzini
  2016-04-01  8:36 ` Denis V. Lunev
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Paolo Bonzini @ 2016-04-01  8:18 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eduardo Habkost, Alex Williamson, Roman Kagan, Denis V. Lunev,
	KY Srinivasan, Andreas Färber

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 <afaerber@suse.de>
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Denis V. Lunev <den@openvz.org>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Roman Kagan <rkagan@virtuozzo.com>
Cc: KY Srinivasan <kys@microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 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);
 
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-04-01 21:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-01  8:18 [Qemu-devel] [PATCH for-2.6] target-i386: KVM loves Hyper-V! Paolo Bonzini
2016-04-01  8:36 ` Denis V. Lunev
2016-04-01  8:58 ` Daniel P. Berrange
2016-04-01  9:06   ` Paolo Bonzini
2016-04-01 10:13 ` Roman Kagan
2016-04-01 14:12 ` Michael Roth
2016-04-01 20:28 ` KY Srinivasan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).