From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH 0/4] random,x86,kvm: Add and use MSR_KVM_GET_RNG_SEED Date: Wed, 16 Jul 2014 09:13:23 -0700 Message-ID: <53C6A4A3.1040702@zytor.com> References: <20140716064110.GV18167@minantech.com> <53C62563.6050106@redhat.com> <53C62B68.50702@redhat.com> <53C6A236.7040904@zytor.com> <53C6A362.7090709@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Daniel Borkmann , Gleb Natapov , kvm list , "Theodore Ts'o" , "linux-kernel@vger.kernel.org" , Kees Cook , X86 ML , Srivatsa Vaddagiri , Raghavendra K T To: Paolo Bonzini , Andy Lutomirski Return-path: Received: from terminus.zytor.com ([198.137.202.10]:41505 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755437AbaGPQNi (ORCPT ); Wed, 16 Jul 2014 12:13:38 -0400 In-Reply-To: <53C6A362.7090709@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 07/16/2014 09:08 AM, Paolo Bonzini wrote: > Il 16/07/2014 18:03, H. Peter Anvin ha scritto: >> I suggested emulating RDRAND *but not set the CPUID bit*. We already >> developed a protocol in KVM/Qemu to enumerate emulated features (created >> for MOVBE as I recall), specifically to service the semantic "feature X >> will work but will be substantially slower than normal." > > But those will set the CPUID bit. There is currently no way for KVM > guests to know if a CPUID bit is real or emulated. > OK, so there wasn't any protocol implemented in the end. I sit corrected. -hpa