From: Ian Campbell Subject: Re: xen-4.3 port Date: Wed, 29 Jan 2014 09:33:31 +0000 Message-ID: <1390988011.31814.40.camel@kazak.uk.xensource.com> References: <29A82C69-DB0A-46EB-B11F-A7B535CD90AE@gmail.com> <20140128193430.GB9842@phenom.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140128193430.GB9842@phenom.dumpdata.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: Konrad Rzeszutek Wilk Cc: Igor Kozhukhov , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2014-01-28 at 14:34 -0500, Konrad Rzeszutek Wilk wrote: > > do i need implement it first ? > > No. But you should have stub functions in your hypercall page to at least > return -ENOSYS for everything you don't implement. > > How do you construct your hyperpage? Note that nobody should be constructing a hypercall page themselves, they should rely on the hypervisor to do it (for PVH guests they will need to request it, but for a PV guest it is just there). If a guest calls the hypercall page entry associated with an unimplemented hypercall then the effect will be an -ENOSYS return. Ian.