Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2017 08:52:07 +0100
From:      Roger Pau =?iso-8859-1?Q?Monn=E9?= <roger.pau@citrix.com>
To:        VAIBHAV GAUTAM <vaibhavkg2018@email.iimcal.ac.in>
Cc:        <freebsd-xen@freebsd.org>
Subject:   Re: Xen Grant table
Message-ID:  <20170704075207.4b4l6cnsvksf2wic@dhcp-3-128.uk.xensource.com>
In-Reply-To: <CAO8bUdT1h=oKxxhzz_NPtuXT84dqWFNALHrdAgq8cjWxw6bCwQ@mail.gmail.com>
References:  <CAO8bUdT1h=oKxxhzz_NPtuXT84dqWFNALHrdAgq8cjWxw6bCwQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 02, 2017 at 07:39:39PM +0530, VAIBHAV GAUTAM wrote:
> Hello all,
> 
> I am new here. I want to work on *Xen bus_dma Grant Table Handler* and have
> started with some initial prototype. It would be grateful if someone can
> agree to help me and mentor me on this project.

Hello,

I'm happy to continue to mentor you on that project, outside of GSoC
and at your own peace. The first step would be to get a test
environment that you can use properly, so let's start by that before
getting into any coding.

First of all, you already said that you are more comfortable using
Ubuntu as your development environment, and that's fine for this
project. What I would like you to do now is setup Ubuntu, install Xen
and create a FreeBSD VM in order to test your changes. You can install
Xen from the Ubuntu packages, since you don't have to modify Xen code
it's probably going to be easier to just use the distro packages, at
least as a start.

Then you should create a FreeBSD HVM. You can do so by downloading one
of the FreeBSD VM snapshots that can be found at:

ftp://ftp.nl.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/12.0-CURRENT/amd64/Latest/

I would like to make sure that you have the serial console enabled
[0][1] on the VM, and that you can see the output of FreeBSD booting
when you do a `xl console <vm_name>` or `xl create -c
<vm_config_file>`. It's very important that you have a proper setup
before starting coding.

Once you have the snapshot image setup, I would like you to update
FreeBSD to the latest HEAD version [2] (ie: you will have to checkout
the sources and do a full buildworld + buildkernel + install).

Please let me know once that's finished :).

Roger.

[0] https://www.freebsd.org/doc/handbook/serialconsole-setup.html
[1] https://wiki.xenproject.org/wiki/Xen_FAQ_Console#How_do_I_run_xl_console_to_an_HVM_DomU.3F
[2] https://www.freebsd.org/doc/handbook/makeworld.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170704075207.4b4l6cnsvksf2wic>