From: Tej Subject: Explicit return type for Hypercall Date: Thu, 9 Apr 2009 16:08:44 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Hi All Some basic doubts about Hypercall return type. If kernel issue a hypercall, and there is no corresponding entry in entry.S in Hypervisor, it gives weired return type and Kernel interpret it in completely different manner. 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. 1. Is this return type is intended? 2. Why there is no interpretation of hypercall return type in kernel? Hope i am not missing any obvious thing thanks -tej