From mboxrd@z Thu Jan 1 00:00:00 1970 From: Elazar Leibovich Subject: Re: Low-hanging fruit bugs for starting contributor Date: Tue, 22 Nov 2016 17:00:13 +0000 Message-ID: References: <48306037-692A-4062-AB84-74C8B889D915@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7856051893862138068==" Return-path: In-Reply-To: <48306037-692A-4062-AB84-74C8B889D915@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Lars Kurth Cc: Lars Kurth , Xen-devel List-Id: xen-devel@lists.xenproject.org --===============7856051893862138068== Content-Type: multipart/alternative; boundary=047d7b5d57d0502fcd0541e6b54d --047d7b5d57d0502fcd0541e6b54d Content-Type: text/plain; charset=UTF-8 Hi, At Ravello/Oracle, we would be interested with contributing patches to the Xen hypervisor, especially in areas related , and our team have no experience with Xen. I've read the contributor guideline, and I think that before contributing big patches, we should start with contributing small patches, to make sure we're fluent with the entire contribution process, e.g., coverity static analysis. As of the setup phase. I created a pbuilder clean environment with the following script, note the list of build dependencies: #!/bin/bash -vx set -e sudo apt install pbuilder [ ! -f /var/cache/pbuilder/base.tgz ] && sudo pbuilder --create --distribution xenial --othermirror 'deb http://il.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse' DEPS=/tmp/$USER-$$-dep-install echo -e '#!/bin/bash -xv\napt-get install -y wget curl ftp autotools-dev debhelper dpkg-dev lsb-release python-dev bcc gcc-multilib e2fslibs-dev iasl seabios libaio-dev libfdt-dev libglib2.0-dev liblzma-dev libncurses5-dev libpixman-1-dev libyajl-dev libssl-dev pkg-config uuid-dev zlib1g-dev libsystemd-dev texinfo fakeroot' > $DEPS trap "rm $DEPS" EXIT chmod +x $DEPS sudo pbuilder --execute --save-after-exec $DEPS Then I went on, pbuilder --login, and inside $ make debball I ran a plain Ubuntu Server on KVM with nested virtualization enabled, then I installed the deb on the ubuntu, $ update-grub installed some runtime dependencies $ apt install libpixman-1-dev libfdt-dev libaio-dev libyajl-dev and booted with the new Xen entry. Note that you can rename /etc/grub.d/20_linux_xen to be /etc/grub.d/09_linux_xen before update-grub and hence have your machine to boot to Xen by default. Finally I started the xen daemons $ service xen-watchdog start $ service xendomains start $ service xendriverdomain start $ service xencommons start Than, I created VMs with the xl create tool. I'm not sure I have the best setup, and I'll be happy to hear what I did wrong, or what could be improved. Thanks! On Tue, Nov 22, 2016 at 6:19 PM Lars Kurth wrote: > Elazar, > > we do have a list of links to starter projects at the bottom of > https://wiki.xenproject.org/wiki/Outreachy/Round12%2B2016GSoC > , but these > are probably not quite what you are looking for. We don't maintain a list > of starter bugs, because much of it depends on what you want to get out of > it. I am assuming you solved build, set-up, etc. already? > > If you could give us a bit of context and what you are trying to > accomplish, I can CC a community member who can then point you in the right > direction or alternatively can come up with a small project that can help > you get up to speed. > > Regards > Lars > > On 22 Nov 2016, at 15:49, Elazar Leibovich < > elazar.leibovich@ravellosystems.com> wrote: > > Hi, > For someone wishing to start contributing to Xen hypervisor, what would > you recommend as an easy, educational, bug he could start with? > > Thanks, > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > https://lists.xen.org/xen-devel > > --047d7b5d57d0502fcd0541e6b54d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
At Ravello/Oracle, we would be interested wi= th contributing patches to the Xen hypervisor, especially in areas related = , and our team have no experience with Xen.
I've read the contribut= or guideline, and I think that before contributing big patches, we should s= tart with contributing small patches, to make sure we're fluent with th= e entire contribution process, e.g., coverity static analysis.
As= of the setup phase. I created a pbuilder clean environment with the follow= ing script, note the list of build dependencies:

<= div>#!/bin/bash -vx
set -e
sudo apt install pbuilder
[ ! -f /var/cache/pbuilder/base.tgz ] && sudo pbuilder --cr= eate --distribution xenial --othermirror 'deb http://il.archive.ubuntu.com/ubuntu/ xenial mai= n restricted universe multiverse'
DEPS=3D/tmp/$USER-$$-dep-in= stall
echo -e '#!/bin/bash -xv\napt-get install -y wget curl = ftp autotools-dev debhelper dpkg-dev lsb-release python-dev bcc gcc-multili= b e2fslibs-dev iasl seabios libaio-dev libfdt-dev libglib2.0-dev liblzma-de= v libncurses5-dev libpixman-1-dev libyajl-dev libssl-dev pkg-config uuid-de= v zlib1g-dev libsystemd-dev texinfo fakeroot' > $DEPS
trap= "rm $DEPS" EXIT
chmod +x $DEPS
sudo pbuilder= --execute --save-after-exec $DEPS

Then I we= nt on, pbuilder --login, and inside
$ make debball
I ra= n a =C2=A0plain Ubuntu Server on KVM with nested virtualization enabled, th= en I installed the deb on the ubuntu,
$ update-grub
ins= talled some runtime dependencies
$ apt install libpixman-1-dev li= bfdt-dev libaio-dev libyajl-dev
and booted with the new Xen entry= . Note that you can rename
/etc/grub.d/20_linux_xen to be=C2= =A0/etc/grub.d/09_linux_xen before update-grub
and hence have= your machine to boot to Xen by default.

Finally I= started the xen daemons
$=C2=A0service xen-watchdog start
<= div>$=C2=A0service xendomains start
$ service xendriverdomain sta= rt
$ service=C2=A0xencommons start
Than, I created VMs = with the xl create tool.
I'm not sure I have the best setup, = and I'll be happy to hear what I did wrong, or what could be improved.<= /div>
Thanks!

On T= ue, Nov 22, 2016 at 6:19 PM Lars Kurth <lars.kurth.xen@gmail.com> wrote:
El= azar,

we do have a list of links to starter projects at the bottom of=C2=A0https://wiki.xenproject.org/wiki/Outreachy= /Round12%2B2016GSoC, but these are probably not quite what you are look= ing for. We don't maintain a list of starter bugs, because much of it d= epends on what you want to get out of it. I am assuming you solved build, s= et-up, etc. already?

=
If you could give us a bit of context and wh= at you are trying to accomplish, I can CC a community member who can then p= oint you in the right direction or alternatively can come up with a small p= roject that can help you get up to speed.
Regards
Lars

On 22 Nov 2016, at 15:49, Elazar Leibovich <elazar.leibovich@ravellosystems.com> wrote:

Hi,
For someone wishi= ng to start contributing to =C2=A0Xen hypervisor, what would you recommend = as an easy, educational, bug he could start with?

Thanks,
<= div class=3D"gmail_msg"> _______________________________________________
Xen-= devel mailing list
Xen-devel@lists.xen.org=
https://lists.xen.org/xen-devel
--047d7b5d57d0502fcd0541e6b54d-- --===============7856051893862138068== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============7856051893862138068==--