From: "Jan Beulich" Subject: Re: [PATCH RFC v13 11/20] pvh: Support read_segment_register for PVH Date: Thu, 26 Sep 2013 16:36:51 +0100 Message-ID: <524470B302000078000F70EB@nat28.tlf.novell.com> References: <1379955000-11050-1-git-send-email-george.dunlap@eu.citrix.com> <1379955000-11050-12-git-send-email-george.dunlap@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VPDcD-0002n5-5K for xen-devel@lists.xenproject.org; Thu, 26 Sep 2013 15:36:29 +0000 In-Reply-To: <1379955000-11050-12-git-send-email-george.dunlap@eu.citrix.com> Content-Disposition: inline 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: xen-devel , Keir Fraser , Tim Deegan List-Id: xen-devel@lists.xenproject.org >>> On 23.09.13 at 18:49, George Dunlap wrote: > +static inline u16 hvm_read_selector(struct vcpu *v, enum x86_segment seg) > +{ > + return hvm_funcs.read_selector(v, seg); > +} This is sort of a latent crash as long as SVM doesn't have a handler for this (i.e. if some other, non-PVH caller appears). Apart from that Reviewed-by: Jan Beulich Jan