From: "Jan Beulich" Subject: Re: [PATCH v2] x86/domctl: Improve XEN_DOMCTL_hypercall_init error handling Date: Thu, 12 Mar 2015 11:31:02 +0000 Message-ID: <550187060200007800068EFF@mail.emea.novell.com> References: <5500544702000078000688C8@mail.emea.novell.com> <1426158202-27681-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1426158202-27681-1-git-send-email-andrew.cooper3@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: Andrew Cooper Cc: Ian Jackson , Wei Liu , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 12.03.15 at 12:03, wrote: > EACCES cannot be distinguished against an incorrect DOMCTL_INTERFACE_VERSION, > and will cause an incorrect "need to rebuild the user-space tool set?" > message > from libxc. > > On the libxc side, put the useful piece of information in the error message, > rathe than the -1 from do_domctl(). > > Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich