I'm using Xen 3.0.0 inside vmware workstation. Would compiling a  3.0.1 kernel help?<br><br> <br><br><div><span class="gmail_quote">On 11/7/06, <b class="gmail_sendername">Daniel P. Berrange</b> <<a href="mailto:berrange@redhat.com">
berrange@redhat.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Tue, Nov 07, 2006 at 04:48:07PM +0000, Karthik V wrote:
<br>> I'm using Xen 3.0 and libvirt 0.1.8 ... Is that a supported combination? Can<br>> someone help me out?<br><br>Which exact version of Xen ?  There has been an unfortunate tendancy for<br>Xen to break userspace compatability in the header files between even
<br>minor releases such as 3.0.2 -> 3.0.3 :-(   That said, libvirt is intended<br>to be capable of working against any Xen 3.0.1 or later, so if there's<br>bugs we need to fix them.<br><br>> On 11/7/06, Karthik V <
<a href="mailto:karthikveeramani@gmail.com">karthikveeramani@gmail.com</a>> wrote:<br>> >Thanks a lot Daniel, that was my problem.<br>> ><br>> >Now, after running configure and make, I see the following error
<br>> >during compilation -<br>> ><br>> >xen_internal.c: In function `xenHypervisorGetVcpus':<br>> >xen_internal.c:1793: error: invalid application of `sizeof' to an<br>> >incomplete type<br>
> ><br>> >xen_internal.c: At top level:<br>> >/usr/include/xen/dom0_ops.h:399: error: storage size of `schedctl' isn't<br>> >known<br>> >/usr/include/xen/dom0_ops.h:400: error: storage size of `adjustdom' isn't
<br>> >known<br>> >make[2]: *** [xen_internal.lo] Error 1<br>> ><br>> >Any ideas to fix it?<br>> ><br>> >On 11/7/06, Daniel P. Berrange <<a href="mailto:berrange@redhat.com">berrange@redhat.com
</a>> wrote:<br>> >> On Tue, Nov 07, 2006 at 08:32:51AM -0500, Karthik V wrote:<br>> >> > Hi All,<br>> >> ><br>> >> > I'm new to libvirt, and am having trouble running configure script.
<br>> >> > This is the error -<br>> >> ><br>> >> > checking for library containing xs_read... -lxenstore<br>> >> > checking libxml2   no  ... checking for libxml2 libraries >= 
2.5.0...<br>> >> > checking libxml2   xml2-config  ... configure: error: Could not find<br>> >> > libxml2 anywhere (see config.log for details).<br>> >> ><br>> >> > I've verified that I have libxml2 installed -
<br>> >> ><br>> >> > debian:~/libvirt-0.1.8# dpkg -l | grep libxml<br>> >> > ii  libxml2        2.6.16-7       GNOME XML library<br>> >><br>> >> This is only the runtime library - you need the development header files
<br>> >> and libraries installed to be able to compile against <a href="http://it.ie">it.ie</a> libxml2-dev<br>> >><br><br>Dan.<br>--<br>|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
<br>|=-           Perl modules: <a href="http://search.cpan.org/~danberr/">http://search.cpan.org/~danberr/</a>              -=|<br>|=-               Projects: <a href="http://freshmeat.net/~danielpb/">http://freshmeat.net/~danielpb/
</a>               -=|<br>|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=|<br></blockquote></div><br>