From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6KXj-0005s7-Pr for qemu-devel@nongnu.org; Thu, 23 Jan 2014 08:42:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6KXi-0007Qr-Nf for qemu-devel@nongnu.org; Thu, 23 Jan 2014 08:42:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:25512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6KXi-0007Qa-FF for qemu-devel@nongnu.org; Thu, 23 Jan 2014 08:42:02 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s0NDg128032059 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 23 Jan 2014 08:42:01 -0500 From: Vadim Rozenfeld Date: Fri, 24 Jan 2014 00:40:45 +1100 Message-Id: <1390484449-20974-4-git-send-email-vrozenfe@redhat.com> In-Reply-To: <1390484449-20974-1-git-send-email-vrozenfe@redhat.com> References: <1390484449-20974-1-git-send-email-vrozenfe@redhat.com> Subject: [Qemu-devel] [PATCH v2 3/7] Don't specify implementation limits List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, mtosatti@redhat.com, Vadim Rozenfeld According to "Requirements for Implementing the Microsoft Hypervisor Interface" (http://msdn.microsoft.com/library/windows/hardware/hh975392) page 7, parameters "The maximum number of virtual processors supported" and "The maximum number of logical processors supported" are not required and may be set to zero Signed-off-by: Vadim Rozenfeld --- target-i386/kvm.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 0aa85a3..8adf27e 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -500,11 +500,6 @@ int kvm_arch_init_vcpu(CPUState *cs) c->ebx = cpu->hyperv_spinlock_attempts; c = &cpuid_data.entries[cpuid_i++]; - c->function = HYPERV_CPUID_IMPLEMENT_LIMITS; - c->eax = 0x40; - c->ebx = 0x40; - - c = &cpuid_data.entries[cpuid_i++]; c->function = KVM_CPUID_SIGNATURE_NEXT; memcpy(signature, "KVMKVMKVM\0\0\0", 12); c->eax = 0; -- 1.8.1.4