________________________________
From: Clark Laughlin <clark.laugh...@linaro.org>
Sent: Tuesday, January 20, 2015 6:57 PM
To: Jaggi, Manish
Cc: Stefano Stabellini; jfeh...@suse.com; Kiarie Kahurani; Kumar, Vijaya; 
anthony.per...@citrix.com; Ian Campbell; xen-de...@lists.xensource.com
Subject: Re: 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.

[Manish] Please it would really help

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.

[Manish] I have built the tools and my ubuntu is used as dom0.

You will also need to build libvirt, as the libvirt in the distro packages does 
not have xen support enabled.
[Manish] The build fails with trivial errors like test c code does not have 
main. It appears that something is missing in my setup and I need to spend more 
time on it, which at the moment I don't have.

What version of Ubuntu are you using?
[Manish] Using the  link given on the linaro devstack page. Only difference is 
I used the rootfs.

- Clark


On Tuesday, January 20, 2015, Jaggi, Manish 
<manish.ja...@caviumnetworks.com<mailto:manish.ja...@caviumnetworks.com>> wrote:


________________________________________
From: Stefano Stabellini <stefano.stabell...@eu.citrix.com>
Sent: Tuesday, January 20, 2015 5:04 AM
To: Jaggi, Manish
Cc: Stefano Stabellini; clark.laugh...@linaro.org; jfeh...@suse.com; Kiarie 
Kahurani; Kumar, Vijaya; anthony.per...@citrix.com; Ian Campbell; 
xen-de...@lists.xensource.com
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.laugh...@linaro.org
> Cc: jfeh...@suse.com; Kiarie Kahurani; Kumar, Vijaya; 
> anthony.per...@citrix.com; Ian Campbell; xen-de...@lists.xensource.com
> 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.stabell...@eu.citrix.com>
> Sent: Monday, January 19, 2015 4:01 PM
> To: Jaggi, Manish
> Cc: Stefano Stabellini; clark.laugh...@linaro.org; jfeh...@suse.com; Kiarie 
> Kahurani; Kumar, Vijaya; anthony.per...@citrix.com; Ian Campbell; 
> xen-de...@lists.xensource.com
> 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<http://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.stabell...@eu.citrix.com>
> > Sent: Friday, January 16, 2015 8:44 PM
> > To: Jaggi, Manish
> > Cc: jfeh...@suse.com; Kiarie Kahurani; Stefano Stabellini; Kumar, Vijaya; 
> > anthony.per...@citrix.com; Ian Campbell; xen-de...@lists.xensource.com; 
> > clark.laugh...@linaro.org
> > 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@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to