From: Keir Fraser Subject: Re: Explicit return type for Hypercall Date: Thu, 09 Apr 2009 12:20:35 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tej , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 09/04/2009 11:38, "Tej" wrote: > eg in GCOV case, I issued hypercall, when there is no corresponding > entry in Hypervisor, it gives -38<3> as return type. and Kernel Send a > message to userspace (in case of kernel module) as Kernel does not > have module support, which is total misleading. The return code is ENOSYS, which is appropriate for an unimplemented hypercall. -- Keir