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
Quoted 10 lines · Manish
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.
Quoted 9 lines
Saw patches in the git log
- Add support for parsing/formating Xen XL config
- tests: Tests for the xen-xl parserCould you please help with the steps / pointers to run virsh / virt-manager with libvirtd. -Regards
Manish
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
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 ?
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?
-Regards
Manish
________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Friday, January 16, 2015 8:44 PM
To: Jaggi, Manish
Cc: [email protected]; Kiarie Kahurani; Stefano Stabellini; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]; [email protected]
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
Quoted 10 lines · Manish
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.
Quoted 9 lines
Saw patches in the git log
- Add support for parsing/formating Xen XL config
- tests: Tests for the xen-xl parserCould you please help with the steps / pointers to run virsh / virt-manager with libvirtd. -Regards
Manish
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 3 lines · Manish
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.
Quoted 5 lines
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/xencommonsstart 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?
Quoted 14 lines
-Regards
Manish________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Friday, January 16, 2015 8:44 PM
To: Jaggi, Manish
Cc: [email protected]; Kiarie Kahurani; Stefano Stabellini; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64Hello Manish,
recently Clark Laughlin (CC'ed) got OpenStack, libvirt and Xen all working together on ARM. He wrote the following wiki page:
Quoted 27 lines
https://wiki.linaro.org/OpenStack/DevstackOnXenARM
Cheers,
Stefano
Quoted 19 lines · Manish
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 parserCould you please help with the steps / pointers to run virsh / virt-manager with libvirtd. -Regards
Manish
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
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)
(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 <[email protected]>
Sent: Monday, January 19, 2015 4:01 PM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64
Quoted 3 lines · Manish
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.
Quoted 5 lines
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/xencommonsstart 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?
Quoted 14 lines
-Regards
Manish________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Friday, January 16, 2015 8:44 PM
To: Jaggi, Manish
Cc: [email protected]; Kiarie Kahurani; Stefano Stabellini; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64Hello Manish,
recently Clark Laughlin (CC'ed) got OpenStack, libvirt and Xen all working together on ARM. He wrote the following wiki page:
Quoted 27 lines
https://wiki.linaro.org/OpenStack/DevstackOnXenARM
Cheers,
Stefano
Quoted 19 lines · Manish
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 parserCould you please help with the steps / pointers to run virsh / virt-manager with libvirtd. -Regards
Manish
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
(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; [email protected]
Cc: [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
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)
(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 <[email protected]>
Sent: Monday, January 19, 2015 4:01 PM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64
Quoted 3 lines · Manish
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.
Quoted 5 lines
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/xencommonsstart 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?
Quoted 14 lines
-Regards
Manish________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Friday, January 16, 2015 8:44 PM
To: Jaggi, Manish
Cc: [email protected]; Kiarie Kahurani; Stefano Stabellini; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64Hello Manish,
recently Clark Laughlin (CC'ed) got OpenStack, libvirt and Xen all working together on ARM. He wrote the following wiki page:
Quoted 27 lines
https://wiki.linaro.org/OpenStack/DevstackOnXenARM
Cheers,
Stefano
Quoted 19 lines · Manish
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 parserCould you please help with the steps / pointers to run virsh / virt-manager with libvirtd. -Regards
Manish
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 10 lines · Manish
(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; [email protected]
Cc: [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64
Quoted 8 lines
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 withroot@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
Quoted 28 lines
(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 <[email protected]>
Sent: Monday, January 19, 2015 4:01 PM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64Quoted 3 lines · Manish
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.
Quoted 53 lines
Quoted 5 lines
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/xencommonsstart 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?
Quoted 41 lines
-Regards
Manish________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Friday, January 16, 2015 8:44 PM
To: Jaggi, Manish
Cc: [email protected]; Kiarie Kahurani; Stefano Stabellini; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64Hello 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
Quoted 19 lines · Manish
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 parserCould you please help with the steps / pointers to run virsh / virt-manager with libvirtd. -Regards
Manish
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Tuesday, January 20, 2015 5:04 AM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64
Quoted 10 lines · Manish
(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; [email protected]
Cc: [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64
Quoted 8 lines
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 withroot@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.
Quoted 28 lines
(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 <[email protected]>
Sent: Monday, January 19, 2015 4:01 PM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64Quoted 3 lines · Manish
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.
Quoted 53 lines
Quoted 5 lines
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/xencommonsstart 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?
Quoted 41 lines
-Regards
Manish________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Friday, January 16, 2015 8:44 PM
To: Jaggi, Manish
Cc: [email protected]; Kiarie Kahurani; Stefano Stabellini; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64Hello 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
Quoted 19 lines · Manish
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 parserCould you please help with the steps / pointers to run virsh / virt-manager with libvirtd. -Regards
Manish
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
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
Quoted 135 lines · Manish
________________________________________
From: Stefano Stabellini <[email protected] <javascript:;>>
Sent: Tuesday, January 20, 2015 5:04 AM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected] <javascript:;>; [email protected] <javascript:;>; Kiarie Kahurani; Kumar, Vijaya; [email protected] <javascript:;>; Ian Campbell; [email protected] <javascript:;>
Subject: Re: Using Libvirtd with virt-manager on aarch64Quoted 8 lines · Manish
(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; [email protected] <javascript:;>
Cc: [email protected] <javascript:;>; Kiarie Kahurani; Kumar, Vijaya;[email protected] <javascript:;>; Ian Campbell; [email protected] <javascript:;>
Quoted 5 lines
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,
Quoted 3 lines
(A) there is a build error, if you can help with
root@manish-thunder-dev:/build/libvirt-upstream/libvirt# debuild -us-uc -i -I
Quoted 2 lines
Fatal Python error: Failed to open
/dev/urandom
Aborted (core dumped)
/dev/urandomis 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/urandomc 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.
Quoted 1 line
(B) Also, I was using opensuse image which I believe had xencomons
xenstored etc.
Quoted 9 lines
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 <[email protected]<javascript:;>>
Quoted 3 lines
Sent: Monday, January 19, 2015 4:01 PM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected] <javascript:;>;[email protected] <javascript:;>; Kiarie Kahurani; Kumar, Vijaya; [email protected] <javascript:;>; Ian Campbell; [email protected] <javascript:;>
Quoted 6 lines
Subject: Re: Using Libvirtd with virt-manager on aarch64
Quoted 3 lines · Manish
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 ?
Quoted 10 lines
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.
Quoted 1 line
I need some pointers on what could be wrong in my setup because of
which I am getting virsh list empty.
Quoted 1 line
Quoted 1 line
One thing I noted that virsh is able to connect to xen:/// after
/etc/init.d/xencommonsstart is done.Quoted 14 lines
Quoted 3 lines
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?
Quoted 5 lines
-Regards
Manish________________________________________
From: Stefano Stabellini <[email protected]<javascript:;>>
Quoted 3 lines
Quoted 3 lines
Sent: Friday, January 16, 2015 8:44 PM
To: Jaggi, Manish
Cc: [email protected] <javascript:;>; Kiarie Kahurani; StefanoStabellini; Kumar, Vijaya; [email protected] <javascript:;>; Ian Campbell; [email protected] <javascript:;>; [email protected] <javascript:;>
Quoted 10 lines
Quoted 10 lines
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,
Quoted 7 lines
Quoted 7 lines
Stefano
Quoted 4 lines · Manish
Hi Jim,
I am trying to run libvirtd / virsh / virt-manager on aarch64
platform (Cavium thunderX).
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Am able to build from the git and able to connect virsh with xen:///
but am not able to get the output of list.
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
vish nodeinfo command is working.
Quoted 13 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Saw patches in the git log
- Add support for parsing/formating Xen XL config
- tests: Tests for the xen-xl parserCould you please help with the steps / pointers to run virsh /
virt-manager with libvirtd.
Quoted 6 lines
Quoted 5 lines
Quoted 4 lines
-Regards
Manish
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
________________________________
From: Clark Laughlin <[email protected]>
Sent: Tuesday, January 20, 2015 6:57 PM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
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 <[email protected]<mailto:[email protected]>> wrote:
________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Tuesday, January 20, 2015 5:04 AM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64
Quoted 10 lines · Manish
(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; [email protected]
Cc: [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64
Quoted 8 lines
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 withroot@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.
Quoted 28 lines
(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 <[email protected]>
Sent: Monday, January 19, 2015 4:01 PM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64Quoted 3 lines · Manish
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.
Quoted 53 lines
Quoted 5 lines
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/xencommonsstart 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?
Quoted 41 lines
-Regards
Manish________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Friday, January 16, 2015 8:44 PM
To: Jaggi, Manish
Cc: [email protected]; Kiarie Kahurani; Stefano Stabellini; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64Hello 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
Quoted 19 lines · Manish
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 parserCould you please help with the steps / pointers to run virsh / virt-manager with libvirtd. ?-Regards
Manish
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 10 lines · Manish
------------------------------
*From:* Clark Laughlin <[email protected]> *Sent:* Tuesday, January 20, 2015 6:57 PM
*To:* Jaggi, Manish
*Cc:* Stefano Stabellini; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
*Subject:* Re: Using Libvirtd with virt-manager on aarch64
Quoted 8 lines
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.
I checked, and I no longer have any builds available.
Quoted 13 lines
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.
Quoted 4 lines
What version of Ubuntu are you using?
[Manish] Using the link given on the linaro devstack page. Only
difference is I used the rootfs.
I'm having a hard time following just exactly what you are trying to build/run this on. It does sounds like you have some problems with your setup that do need to be resolved.
I was able to successfully build and test on a normal trusty install. I haven't tried any deviations from that.
Quoted 150 lines
- Clark
Quoted 142 lines · Manish
________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Tuesday, January 20, 2015 5:04 AM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64Quoted 8 lines · Manish
(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; [email protected]
Cc: [email protected]; Kiarie Kahurani; Kumar, Vijaya;[email protected]; Ian Campbell; [email protected]
Quoted 5 lines
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,
Quoted 3 lines
(A) there is a build error, if you can help with
root@manish-thunder-dev:/build/libvirt-upstream/libvirt# debuild -us-uc -i -I
Quoted 2 lines
Fatal Python error: Failed to open
/dev/urandom
Aborted (core dumped)
/dev/urandomis 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/urandomc 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.
Quoted 1 line
(B) Also, I was using opensuse image which I believe had xencomons
xenstored etc.
Quoted 4 lines
How do i get them ? Do i need to do apt-get install xen-tools
I am stuck on these two points.
Quoted 8 lines
-Regards
Manish________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Monday, January 19, 2015 4:01 PM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; [email protected];Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Quoted 6 lines
Subject: Re: Using Libvirtd with virt-manager on aarch64
Quoted 3 lines · Manish
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 ?
Quoted 10 lines
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.
Quoted 1 line
I need some pointers on what could be wrong in my setup because of
which I am getting virsh list empty.
Quoted 1 line
Quoted 1 line
One thing I noted that virsh is able to connect to xen:/// after
/etc/init.d/xencommonsstart is done.Quoted 17 lines
Quoted 3 lines
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?
Quoted 8 lines
-Regards
Manish________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Friday, January 16, 2015 8:44 PM
To: Jaggi, Manish
Cc: [email protected]; Kiarie Kahurani; Stefano Stabellini; Kumar,Vijaya; [email protected]; Ian Campbell; [email protected]; [email protected]
Quoted 10 lines
Quoted 10 lines
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,
Quoted 7 lines
Quoted 7 lines
Stefano
Quoted 4 lines · Manish
Hi Jim,
I am trying to run libvirtd / virsh / virt-manager on aarch64
platform (Cavium thunderX).
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Am able to build from the git and able to connect virsh with
xen:/// but am not able to get the output of list.
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
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 parserCould you please help with the steps / pointers to run virsh /
virt-manager with libvirtd.
Quoted 6 lines
Quoted 5 lines
Quoted 4 lines
-Regards
Manish
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
________________________________
From: Clark Laughlin <[email protected]>
Sent: Wednesday, January 21, 2015 10:42 PM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64
On Wed, Jan 21, 2015 at 10:23 AM, Jaggi, Manish <[email protected]<mailto:[email protected]>> wrote:
________________________________
From: Clark Laughlin <[email protected]<mailto:[email protected]>>
Sent: Tuesday, January 20, 2015 6:57 PM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]<mailto:[email protected]>; Kiarie Kahurani; Kumar, Vijaya; [email protected]<mailto:[email protected]>; Ian Campbell; [email protected]<mailto:[email protected]>
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.
I checked, and I no longer have any builds available.
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.
I'm having a hard time following just exactly what you are trying to build/run this on. It does sounds like you have some problems with your setup that do need to be resolved.
[Manish] Attached is the build-log. I downloaded your scripts build-libvirt and build-libvirt-deb in a build directory and executed build-libvirt.
I was able to successfully build and test on a normal trusty install. I haven't tried any deviations from that.
- Clark
On Tuesday, January 20, 2015, Jaggi, Manish <[email protected]<mailto:[email protected]>> wrote:
________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Tuesday, January 20, 2015 5:04 AM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64
Quoted 10 lines · Manish
(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; [email protected]
Cc: [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64
Quoted 8 lines
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 withroot@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.
Quoted 28 lines
(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 <[email protected]>
Sent: Monday, January 19, 2015 4:01 PM
To: Jaggi, Manish
Cc: Stefano Stabellini; [email protected]; [email protected]; Kiarie Kahurani; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64Quoted 3 lines · Manish
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.
Quoted 53 lines
Quoted 5 lines
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/xencommonsstart 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?
Quoted 41 lines
-Regards
Manish________________________________________
From: Stefano Stabellini <[email protected]>
Sent: Friday, January 16, 2015 8:44 PM
To: Jaggi, Manish
Cc: [email protected]; Kiarie Kahurani; Stefano Stabellini; Kumar, Vijaya; [email protected]; Ian Campbell; [email protected]; [email protected]
Subject: Re: Using Libvirtd with virt-manager on aarch64Hello 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
Quoted 19 lines · Manish
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 parserCould you please help with the steps / pointers to run virsh / virt-manager with libvirtd. -Regards
Manish
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 3 lines · Manish
[Manish] Attached is the build-log. I downloaded your scripts build-libvirt and build-libvirt-deb in a build directory and executed build-libvirt.
This is a bug in the current libvirt.git
libtool: link: gcc -std=gnu99 -Dabs_builddir=\"/root/build/libvirt-upstream/libvirt/debian/build/tests\" -Dabs_l /usr/lib/gcc/aarch64-linux-gnu/4.8/../../../aarch64-linux-gnu/crt1.o: In function `_start':
(.text+0x30): undefined reference to `main'
collect2: error: ld returned 1 exit status
https://www.redhat.com/archives/libvir-list/2015-January/msg00709.html
which was committed to libvirt.git as e274d5882eed in the last couple of days.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel