From mboxrd@z Thu Jan 1 00:00:00 1970 From: sabiya kazi Subject: Re: Interested to participate in Outreachy Program Date: Mon, 21 Mar 2016 00:40:09 +0530 Message-ID: References: <56E811CF.1080509@cardoe.com> <56EA3513.2060700@cardoe.com> <56EAB99C.5030901@cardoe.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1468157836795683646==" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ahijs-0008CD-Ky for xen-devel@lists.xenproject.org; Sun, 20 Mar 2016 19:10:12 +0000 Received: by mail-qk0-f180.google.com with SMTP id s68so69388440qkh.3 for ; Sun, 20 Mar 2016 12:10:10 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Doug Goldstein Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org --===============1468157836795683646== Content-Type: multipart/alternative; boundary=001a114a81c295052b052e7fba68 --001a114a81c295052b052e7fba68 Content-Type: text/plain; charset=UTF-8 Hi Doug, I am done with building of xen source.Now, I have started looking at source files and identifying changes required for given task. As you suggested, I went through virsh command source to get idea how escape sequence char option is implemented. Based on that,I came up with following findings: *To complete this task, Steps will be* 1. Do help related change in libxl/xl_cmdtable.c 2. Add handling of one more option for command 'xl console' in file xl_cmdimpl.c in method main_console. From this method, call is delegated to libxl_console_exec() in libxl.c 3. libxl_console_exec delegates to execl(), Do some changes in this method. *Question/Doubts:* - Where I need to use this escape char? - libxl_console_exec() is called by many methods Will it affect other flows as well? - Could not find execl method implementation where it actually prints data - Changes for handling escape char are not cleared Can you please help me on this? Regards, -Sabiya On Sat, Mar 19, 2016 at 11:31 PM, sabiya kazi wrote: > Hi Doug, > I have started building xen source. > Can you help me on issue of creating guest domain? > > > Regards, > -Sabiya > > On Fri, Mar 18, 2016 at 1:18 AM, sabiya kazi wrote: > >> Hi Doug, >> >> I have proceeded on xen installation. I have configured grub to use xen, >> I could see xl command and tried it's few options. >> >> However, I am getting failure while creating a Debian PV Guest using >> >> xen-create-image --hostname=tutorial-pv-guest \ >> --memory=512mb \ >> --vcpus=2 \ >> --lvm=vg0 \ >> --dhcp \ >> --pygrub \ >> --dist=wheezy >> >> I have attached logs for reference. >> Before this step, I could not setup Linux Bridge Network for Guest >> networking. >> I am using my router for internet connection.Can this will be problem? >> Can you please have a look and let me know. >> Now, One more question to make changes for "Xl command" I need to >> check it's source, I have checked out source from xen repository. >> Can you share path of xl and virsh command source, I can start looking at >> source.. >> >> Rega >> > --001a114a81c295052b052e7fba68 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Hi Doug,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0I am done with building of xen source.Now, I have started looking at = source files and identifying changes required for given task.
=C2=A0 =C2=A0As you suggested, I went through virsh command sour= ce to get idea how escape sequence char option is implemented. Based on tha= t,I=C2=A0came up with following findings:
To complete this tas= k, Steps will be

  1. Do help related chang= e in libxl/xl_cmdtable.c
  2. Add handling of one more option for co= mmand 'xl console' in file xl_cmdimpl.c=C2=A0in method =C2=A0main_c= onsole.=C2=A0 From this method, call is delegated to libxl_console_exec() i= n=C2=A0libxl.c
  3. libxl_console_exec delegates to execl(), Do some cha= nges in this method.

Question/Doubts:=
  • =C2=A0Where I need to use this escape char?
  • = =C2=A0libxl_console_exec() is called by many methods Will it affect other f= lows as well?
  • Could not find execl method implementation where= it actually prints data
  • Changes for handling escape= char are not cleared
Can you please help me on this?Regards,
-Sabiya



On Sat, Mar 19, 2016 at 11:31 = PM, sabiya kazi <sabiyafk@gmail.com> wrote:
Hi Doug,
I have started building xen source.
C= an you help me on issue of creating guest domain?

=
Regards,
-Sabiya

On Fri, Mar 18, = 2016 at 1:18 AM, sabiya kazi <sabiyafk@gmail.com> wrote:

Hi Doug,

I have proceeded on xe= n installation. I have configured grub to use xen, I could see xl command a= nd=C2=A0tried it's few options.

However, I am getting failure whi= le creating a Debian PV Guest using

xen-c=
reate-image --hostname=3Dtutorial-pv-guest \
  --memory=3D512mb \
  --vcpus=3D2 \
  --lvm=3Dvg0 \
  --dhcp \
  --pygrub \
  --dist=3Dwheezy

I have attached logs for reference.

=C2=A0Before this step, I could not setup Linux Bridge Network fo= r Guest networking.
I am using my router for internet connection.
= Can this will be problem? Can you please have a look and let me know.
=
=C2=A0 =C2=A0Now, One more question to make changes for "Xl comma= nd" I need to check it's source, I have checked out source from xe= n repository.
Can you share path of xl and virsh command source, = I can start looking at source..

Rega
--001a114a81c295052b052e7fba68-- --===============1468157836795683646== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============1468157836795683646==--