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

Re: [Xen-devel] Using Libvirtd with virt-manager on aarch64



I will check and see if I still have it, but I have moved on to other work and have already destroyed that build/test environment.

I would love to give you a link to Linaro-generated build output, but we are still in the process of getting that setup and running as well.

If you follow the steps in the document (or the steps in the script), you end up having to build both xen and xen tools. You can not use any of the distro-provided packages.

You will also need to build libvirt, as the libvirt in the distro packages does not have xen support enabled.

What version of Ubuntu are you using?

- Clark


On Tuesday, January 20, 2015, Jaggi, Manish <Manish.Jaggi@xxxxxxxxxxxxxxxxxx> wrote:


________________________________________
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Sent: Tuesday, January 20, 2015 5:04 AM
To: Jaggi, Manish
Cc: Stefano Stabellini; clark.laughlin@xxxxxxxxxx; jfehlig@xxxxxxxx; Kiarie Kahurani; Kumar, Vijaya; Anthony.Perard@xxxxxxxxxx; Ian Campbell; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: Using Libvirtd with virt-manager on aarch64

On Mon, 19 Jan 2015, Jaggi, Manish wrote:
> (B) solved, it was a small copy.
> (A) Still not able to fix.
>
> ________________________________________
> From: Jaggi, Manish
> Sent: Tuesday, January 20, 2015 12:39 AM
> To: Stefano Stabellini; clark.laughlin@xxxxxxxxxx
> Cc: jfehlig@xxxxxxxx; Kiarie Kahurani; Kumar, Vijaya; Anthony.Perard@xxxxxxxxxx; Ian Campbell; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: Using Libvirtd with virt-manager on aarch64
>
> Hi Stefano / Clark,
>
> I thought ubuntu dom0 is the better way to get libvirt working, so following the steps,
> (A) there is a build error, if you can help with
>
> root@manish-thunder-dev:/build/libvirt-upstream/libvirt# debuild -us -uc -i -I
> Fatal Python error: Failed to open /dev/urandom
> Aborted (core dumped)

/dev/urandom is a common Linux device for pseudo-randomness, see
http://en.wikipedia.org/?title=/dev/random. It is not Xen specific or
board specific. I don't know why you don't have it in your installation.

Have you tried creating it?

mknod -m 444 /dev/urandom c 1 9

[manish] I am running in chroot environment so it could be an issue.
Btw Is it possible to get the libvirtd deb so that i can just test it out if it works as desired. Clark can you please fwd.


> (B) Also, I was using opensuse image which I believe had xencomons xenstored etc.
> How do i get them ? Do i need to do apt-get install xen-tools
>
> I am stuck on these two points.
>
> -Regards
> Manish
>
> ________________________________________
> From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> Sent: Monday, January 19, 2015 4:01 PM
> To: Jaggi, Manish
> Cc: Stefano Stabellini; clark.laughlin@xxxxxxxxxx; jfehlig@xxxxxxxx; Kiarie Kahurani; Kumar, Vijaya; Anthony.Perard@xxxxxxxxxx; Ian Campbell; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: Using Libvirtd with virt-manager on aarch64
>
> On Fri, 16 Jan 2015, Jaggi, Manish wrote:
> > Hi Stefano /clark,
> > Thanks for sharing the link. For dom0 I am using openSuse.
> > I have followed the steps listed on the(https://libvirt.org/compiling.html#building) to build and install. I believe build-librvit-deb would be doing the same steps or I need to create libvirt-xen.spec.in ?
>
> You are right: at the end of build-librvit-deb, the script calls
> debuild, that is not going to work on opensuse.
>
> I suggest you avoid build-librvit-deb and build libvirt by hand, as from
> the webpage you linked.
>
>
>
> > I need some pointers on what could be wrong in my setup because of which I am getting virsh list empty.
> > One thing I noted that virsh is able to connect to xen:/// after /etc/init.d/xencommons start is done.
> > I am using xen 4.5 rc1.
> >
> > Is virsh list working in your setup?
>
> virsh is supposed to be working correctly. Have you tried creating any
> guests via virsh?
>
>
>
> > -Regards
> > Manish
> >
> > ________________________________________
> > From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> > Sent: Friday, January 16, 2015 8:44 PM
> > To: Jaggi, Manish
> > Cc: jfehlig@xxxxxxxx; Kiarie Kahurani; Stefano Stabellini; Kumar, Vijaya; Anthony.Perard@xxxxxxxxxx; Ian Campbell; xen-devel@xxxxxxxxxxxxxxxxxxx; clark.laughlin@xxxxxxxxxx
> > Subject: Re: Using Libvirtd with virt-manager on aarch64
> >
> > Hello Manish,
> > recently Clark Laughlin (CC'ed) got OpenStack, libvirt and Xen all
> > working together on ARM. He wrote the following wiki page:
> >
> > https://wiki.linaro.org/OpenStack/DevstackOnXenARM
> >
> > Cheers,
> >
> > Stefano
> >
> > On Fri, 16 Jan 2015, Jaggi, Manish wrote:
> > > Hi Jim,
> > >
> > >
> > > I am trying to run libvirtd / virsh / virt-manager on aarch64 platform (Cavium thunderX).
> > >
> > > Am able to build from the git and able to connect virsh with xen:/// but am not able to get the output of list.
> > >
> > > vish nodeinfo command is working.
> > >
> > >
> > > âSaw patches in the git log
> > > - Add support for parsing/formating Xen XL config
> > > - tests: Tests for the xen-xl parser
> > >
> > > Could you please help with the steps / pointers to run virsh / virt-manager with libvirtd.
> > > â-Regards
> > > Manish
> > >
> > >
> >
>
_______________________________________________
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®.