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

Re: [Xen-devel] libxl: cannot start guest



On Fri, 2012-05-25 at 15:56 +0100, Roger Pau Monne wrote:

> I also see an error when starting xencommons on NetBSD:
> 
> test# /usr/xen42/etc/rc.d/xencommons onestart
> Cleaning xenstore database.
> Starting xenservices: xenstored, xenconsoled, xenbackendd.xc: error: 
> OSDEP: interface 2 (gnttab) not supported on this platform: Internal error
> 
> Which is quite annoying, but I'm not really sure of the most elegant way 
> to solve this. The error comes from tools/libxc/xc_private.c:177, so 
> maybe just removing that message would be ok,

I think removing the message is fine. This interface is intentionally
"optional" so making a load of noise when the option is exercised seems
silly...

If you make it a DPRINTF is it silent in this context? If not then just
nuke it entirely...

Ian.


>  or something like this:
> 
> --- a/tools/libxc/xc_private.c
> +++ b/tools/libxc/xc_private.c
> @@ -265,8 +265,12 @@ int xc_evtchn_close(xc_evtchn *xce)
>   xc_gnttab *xc_gnttab_open(xentoollog_logger *logger,
>                                unsigned open_flags)
>   {
> +#ifndef __NetBSD__
>       return xc_interface_open_common(logger, NULL, open_flags,
>                                       XC_OSDEP_GNTTAB);
> +#else
> +    return NULL;
> +#endif
>   }
> 
> Which is not really pretty.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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