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

Re: [Xen-devel] xc_gnttab_get_version question/bug



On Thu, 2012-01-26 at 12:04 +0000, Francisco Rocha wrote:
> Hi everyon,
> 
> I am new to Xen Development, so I don't know if it is a bug or my lack of 
> knowledge regarding Xen dev.
> 
> I am running Fedora 16 x86-64 XFCE with the latest xen unstable and when I 
> run the following code the machine reboots.

Ouch, it certainly shouldn't do that! Do you get any serial console
message or stack trace etc?

You might find it helpful to pass the "noreboot" option on the
hypervisor command line so that you have a chance to see the error
message.

Ian.


> 
> #include <xenctrl.h>
> 
> 
> int main(int argc, char **argv)
> {
>         xc_interface *xch;
>         xch = xc_interface_open(NULL, NULL, 0);
> 
>         printf("version: %d\n", xc_gnttab_get_version(xch, 1));
> 
>         xc_interface_close(xch);
> 
>         return 0;
> }
> 
> Can anyone help? Thank you for your time.
> 
> Cheers,
> Francisco
> _______________________________________________
> 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®.