From: Praveen Kumar <kpraveen.lkml@gmail.com>
To: Dario Faggioli <dario.faggioli@citrix.com>,
xen-devel@lists.xenproject.org, wei.liu2@citrix.com
Subject: Re: Issue while bringing up libvirtd.service
Date: Sat, 10 Dec 2016 00:59:18 +0530 [thread overview]
Message-ID: <1481311758.25466.4.camel@gmail.com> (raw)
In-Reply-To: <1481288842.3445.245.camel@citrix.com>
On Fri, 2016-12-09 at 14:07 +0100, Dario Faggioli wrote:
> >
Thanks Dario and Wei Liu.
I am able to create VMs using XL toolstack and removing old xen and
libvirt packages. I think you both were right, I had double environment
problem.
Thanks once again for your suggestions.
> On Thu, 2016-12-08 at 01:11 +0530, Praveen Kumar wrote:
> >
> > Hi,
> >
> Hey,
>
> > I am new in Xen environment and trying to get VMs running with the
> > build xen code base.
> >
> > But, am facing issue bringing up the libvirt deamon. I have
> > installed
> > latest unstable xen ( 4.9 ).
> > There seems to be a conflict in library version and because of
> > which
> > I am getting below error :
> > ...
> > Dec 08 00:44:43 kpraveen.labs.blr.novell.com libvirtd[14603]:
> > Unable
> > to configure libxl's memory management parameters
> > Dec 08 00:44:43 kpraveen.labs.blr.novell.com libvirtd[14603]:
> > Initialization of LIBXL state driver failed: no error
> > Dec 08 00:44:43 kpraveen.labs.blr.novell.com libvirtd[14603]:
> > Driver
> > state initialization failed
> > ...
> >
> What distribution is this? In any case, if you are installing Xen
> (staging / 4.9) from the sources, and then installing libvirt's
> packages from the distro, that would not work.
>
> In fact, most likely, libvirt packages will bring in as a dependency
> the version of Xen hypervisor and toolstack that is also packaged by
> the distro. At which point, you have two Xen environments installed
> in
> the same host, which is asking for trouble.
>
> >
> > I found that we have xen-libs of different version which is 4.7,
> > but
> > don't know if that is the root cause and how to upgrade that. As
> > suggested, I have also rebuild xen tree and tried reinstalling, but
> > the issue persists.
> >
> Yep, here it is the version mismatch and double environment issue I
> was
> talking about.
>
> >
> > Any guidance will be very much helpful to resolve this problem .
> > Also, wanted to know, what others follow as best practices when
> > there
> > is a version change or if hit the similar problem.
> > Just FYI, I am following https://wiki.xenproject.org/wiki/Compiling
> > _X
> > en_From_Source link for compiling and installing xen.
> >
> So, if you are able to build and install Xen from sources, you
> should,
> as a first step, verify that everything is working by creating a VM
> using the XL toolstack (`man xl', look at examples, search XL on our
> Wiki, etc).
>
> If you want to use libvirt, I don't think you have much alternative
> than building libvirt from sources as well. If I want to test or do
> some libvirt development on upstream Xen, that is what I do, FWIW.
>
>
Regards,
~Praveen.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-12-09 19:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-07 19:41 Issue while bringing up libvirtd.service Praveen Kumar
2016-12-09 13:07 ` Dario Faggioli
2016-12-09 19:29 ` Praveen Kumar [this message]
2016-12-09 13:21 ` Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1481311758.25466.4.camel@gmail.com \
--to=kpraveen.lkml@gmail.com \
--cc=dario.faggioli@citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.