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

Re: [Xen-devel] [PATCHv6 0/8] tools: rework VM Generation ID



On Wed, 2014-07-02 at 19:53 +0000, Aravindh Puthiyaparambil (aravindp) 
> I cannot figure out why xc_get_hvm_param() works here but
> xc_hvm_param_get() does not. If I explicitly add the function
> prototype to xc_mem_event.c the compile goes through. But this
> shouldnât be needed as "xc_private.h" is included which includes
> "xenctrl.h" where the prototype is present. So I don't think this is
> the right thing to do. Could this be an issue with just my build env?
> Any idea what is going on?

Very odd. Nothing around this ought to be conditional and
xc_hvm_param_get works for everything else on ARM it seems.

Plus xc_get_hvm_param and xc_hvm_param_get are defined right next to
each other with no cpp magic anywhere near them.

My guess would be that the compiler is picking up some system version of
xenctrl.h instead of the one in tools/libxc. It really shouldn't be
though!

I cross built your patch on current staging and it was OK for me, so I
guess it is something strange in your chroot. I think I'd start from
"find $chroot -name xenctrl.h" and work from there.

But, given that it works for me and it looks sensible I don't mind if
you send it untested on ARM this time around.

Ian.


_______________________________________________
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®.