This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-devel] HVM hypercalls

To: Ruslan Nikolaev <nruslan_devel@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] HVM hypercalls
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Wed, 28 Jul 2010 18:05:19 -0700 (PDT)
Delivery-date: Wed, 28 Jul 2010 18:07:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <706335.39543.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <706335.39543.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Xen only allows certain hypercalls from an HVM guest
and the list is kept in tables in arch/x86/hvm/hvm.c.
See http://xenbits.xensource.com/xen-unstable.hg?rev/72c6228b5f0f 
for an example of adding an existing hypercall so that
it will be sent through to Xen.  Note that there is
no guarantee that any particular hypercall will work
properly from an HVM guest... this is just the mechanism
for getting a hypercall to be allowed by Xen.

> -----Original Message-----
> From: Ruslan Nikolaev [mailto:nruslan_devel@xxxxxxxxx]
> Sent: Wednesday, July 28, 2010 1:23 PM
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] HVM hypercalls
> Hi
> I need to use hypercalls from HVM domain (e.g.
> HYPERVISOR_add_to_physmap). However, it does not work when I am trying
> to invoke it from HVM Linux guest. Basically, I don't see that anything
> happens on hypervisor's side. I also grep'ed the guest code for
> 'vmmcall'/'vmcall' and did not find anything. Is it possible to do it
> at all? Is it possible to make hypercalls from HVM domains or are they
> simply used for tools responsible to load HVM domain? Also, are they
> allowed (if allowed at all) from stubdom, ioemu, or both
> configurations?
> I am using latest Xen version (xen-4.0.1-rc). I also tried both
> official Linux distribution as an HVM domain and the version from Xen
> repositary. The computer has Nehalem processor with VMX.
> Thanks,
> Ruslan.
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>