From: Tim Deegan Subject: Re: [PATCH RFC] x86/hvm: unify HVM and PVH hypercall tables. Date: Thu, 15 May 2014 12:25:42 +0200 Message-ID: <20140515102542.GA40104@deinos.phlegethon.org> References: <1399563090-30081-1-git-send-email-tim@xen.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: Keir Fraser , Jan Beulich , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org At 17:53 +0100 on 08 May (1399568036), George Dunlap wrote: > One thing to consider is that regardless of whether a hypercall is > safe for HVM guests *if implemented correctly*, every additional > hypercall exposed increases the risk that an attacker will be able to > find one which is *not* implemented correctly and be able to take > advantage of it. This is true. My hope is that, in the long run, the code simplification by merging PVH will be worthwhile. For some things I think we'll still want to have flags to turn them off (e.g. qemu, ACPI emulation, various timers); I'm not sure that there's anything here that's worth making that kind of exception for. > Obviously the *best* solution to that would be Flask, but AFAICT it's > not very widely used. Yep. Cheers, Tim.