[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Checking hypercall page existence!



You can only execute hypercalls from ring 0 (kernel context), not user
space. Is that your problem?

 -- Keir

On 1/11/08 08:15, "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@xxxxxxx> wrote:

> Hi, I've mapped hypercall pages onto a VxWorks HVM using the CPUID and WRMSR
> instructions on a 32 bit pentium machine. However, when I'm trying to make a
> hypercall on it the hypercall on it I'm unable to succeed and it fails. I
> tried the HYPERVISOR_xen_version and HYPERVISOR_vm_assist hypercalls and they
> both are returning < 0 values.
> I was wondering whether there is any way in which I can verify whether the
> hypercall pages have actually been mapped. I could take a dump of the pages
> that wrmsr maps into my domain and look through it for hypercall opcodes but
> if there is an easier way to confirm that, like a signature in the page
> mapped, please let me know.
> Thanks.
> Bhaskar.
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.