From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: RFC Userspace hypercalls Date: Wed, 6 Jan 2016 16:41:18 +0000 Message-ID: <568D43AE.1030007@citrix.com> References: <568CFE3A.8080505@citrix.com> <568D2F4002000078000C3F7E@prv-mh.provo.novell.com> <568D2860.3010807@citrix.com> <568D4F6502000078000C418C@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <568D4F6502000078000C418C@prv-mh.provo.novell.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: Jan Beulich , Andrew Cooper Cc: Keir Fraser , Tim Deegan , Xen-devel List List-Id: xen-devel@lists.xenproject.org On 06/01/16 16:31, Jan Beulich wrote: >>>> On 06.01.16 at 15:44, wrote: >> We did have an internal request for an HVM guest userspace netfront >> driver to be able to use evntchnop calls directly. > > And this can't be accomplished using the evtchn and/or privcmd > drivers? It can and should be done with the evtchn driver. Even for tests I think it should return to kernel mode to perform hypercalls. Tests should not run in a "magic" mode that normal guests won't use. If there are failure cases where return to kernel isn't possible and some logging would be useful, perhaps writing to a memory buffer and retrieving this via a crash dump would be ok? David