From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752860AbaH1Tqu (ORCPT ); Thu, 28 Aug 2014 15:46:50 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:49416 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751612AbaH1Tqt (ORCPT ); Thu, 28 Aug 2014 15:46:49 -0400 Message-ID: <53FF8722.6080302@redhat.com> Date: Thu, 28 Aug 2014 21:46:42 +0200 From: Paolo Bonzini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Andy Lutomirski , Gleb Natapov CC: Raghavendra K T , "Theodore Ts'o" , Kees Cook , kvm list , Konrad Rzeszutek Wilk , Bandan Das , Andrew Honig , Haiyang Zhang , X86 ML , "linux-kernel@vger.kernel.org" , Linux Virtualization , Daniel Borkmann , Srivatsa Vaddagiri , "H. Peter Anvin" , Alok Kataria Subject: Re: GET_RNG_SEED hypercall ABI? (Re: [PATCH v5 0/5] random,x86,kvm: Rework arch RNG seeds and get some from kvm) References: <20140828141704.GI18167@minantech.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 28/08/2014 18:22, Andy Lutomirski ha scritto: > Is there a non-cpuid interface between QEMU and KVM for this? No. > AFAICT, even turning off cpuid bits for things like async pf doesn't > actually disable the MSRs (which is arguably an attack surface issue). No, it doesn't. You cannot disable instructions even if you hide CPUID bits, so KVM just extends this to MSRs (both native and paravirtual). It sometimes helps too, for example with a particular guest OS that does not necessary check CPUID for bits that are always present on Apple hardware... Paolo