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

Re: [Xen-devel] Low-hanging fruit bugs for starting contributor



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 <lars.kurth.xen@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.