From: Wei Liu Subject: Re: [PATCH v2] x86/domctl: Improve XEN_DOMCTL_hypercall_init error handling Date: Fri, 13 Mar 2015 14:09:08 +0000 Message-ID: <20150313140908.GD12099@zion.uk.xensource.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: Content-Disposition: inline In-Reply-To: <1426158202-27681-1-git-send-email-andrew.cooper3@citrix.com> 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: Wei Liu , Ian Jackson , Ian Campbell , Jan Beulich , Xen-devel List-Id: xen-devel@lists.xenproject.org On Thu, Mar 12, 2015 at 11:03:22AM +0000, Andrew Cooper 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 > CC: Jan Beulich > CC: Ian Campbell > CC: Ian Jackson > CC: Wei Liu > Acked-by: Wei Liu