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

Re: Xen VMI APIs



On Mon, Aug 10, 2020 at 06:10:17PM +0530, CS17B006 ARNAB DUTTA wrote:
> Respected Sir/Ma'm
> I am Arnab and I am currently writing rust bindings for xen vmi APIs for a
> project known as Libmicrovmi which aims to provide unified vmi APIs for
> various hypervisors. I am facing some difficulty regarding setting up the
> event system in the sense that after enabling monitoring for events, on
> polling I get a return value of 1, but xenevtchn_pending() returns a value
> -1, which probably means it cannot get a port with pending events. I am
> really confused and need help here.
> 

If you can, please post your code.

Also, you can check why eenevtchn_pending returns -1 by reading kernel /
hypervisor code and adding a few debug prints.

Wei.

> Thanking you
> 
> With regards
> Arnab Dutta
> Computer Science and Engineering Department
> Indian Institute of Technology, Tirupati, India
> Ph no. 8420771531



 


Rackspace

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