All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: "longtao.pang" <longtaox.pang@intel.com>
Cc: wei.liu2@citrix.com, robert.hu@intel.com,
	Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org
Subject: Re: [OSSTEST Nested PATCH v9 3/9] Refactor installation of overlays for guest used
Date: Wed, 6 May 2015 11:49:33 +0100	[thread overview]
Message-ID: <1430909373.2660.215.camel@citrix.com> (raw)
In-Reply-To: <1430548098-5233-4-git-send-email-longtaox.pang@intel.com>

On Sat, 2015-05-02 at 14:28 +0800, longtao.pang wrote:
> From: "longtao.pang" <longtaox.pang@intel.com>
> 
> Based on Ian Campbell's v5_patch [04,05,06], I create this patch
> to refactor installation of overlays for guest used.
> 
> Link of Ian Campbell's patch:
> http://lists.xenproject.org/archives/html/xen-devel/2015-04/msg01452.html
> http://lists.xenproject.org/archives/html/xen-devel/2015-04/msg01447.html

This information is useful in the context of posting, but it should be
after the main body of the commit log and a --- marker so it isn't
included when committing.

The actual body of the commit message should offer some explanation of
how/why it is safe to apply the overlay to guests as well as hosts as
well as why you want it for guests.

Something like:

        Apply overlay to guests as well as hosts by moving to
        preseed_base.
        
        We do this because we want to be able to:
        
              * Use /etc/init.d/osstest-confirm-booted for guests as
                well as hosts (in particular when testing nestedhvm we
                sometimes want to treat a guest as a host)
              * Use grub's 20_linux_xen which is harmless unless Xen is
                installed in the guest which is the case only for
                nestedhvm testing when we want these changes.
        
        The other things in the overlay are some initscripts (xenbridge
        and xenlightdaemons) which are not enabled for guests and hence
        are therefore harmless.
        
        Signed-off-by: longtao.pang <longtaox.pang@intel.com>
        ---
        Base on Ian Campbell's v5_patch [04,05,06], I create this
        patch... etc

> @@ -624,6 +624,7 @@ sub preseed_base ($$$$;@) {
>  
>      preseed_ssh($ho, $sfx);
>      preseed_hook_overlay($ho, $sfx, $c{OverlayLocal}, 'overlay-local.tar');
> +    preseed_hook_overlay($ho, $sfx, 'overlay', 'overlay.tar');

I think you should also remove the existing one from preseed_create,
else it will happen twice for L0 host install.

Ian.

  reply	other threads:[~2015-05-06 10:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-02  6:28 [OSSTEST Nested PATCH v9 0/9] Introduction of netsted HVM test job longtao.pang
2015-05-02  6:28 ` [OSSTEST Nested PATCH v9 1/9] parsing grub which has 'submenu' primitive longtao.pang
2015-05-06 11:36   ` Ian Campbell
2015-05-02  6:28 ` [OSSTEST Nested PATCH v9 2/9] Changes to support '/boot' leading paths of kernel, xen, in grub longtao.pang
2015-05-06 10:41   ` Ian Campbell
2015-05-02  6:28 ` [OSSTEST Nested PATCH v9 3/9] Refactor installation of overlays for guest used longtao.pang
2015-05-06 10:49   ` Ian Campbell [this message]
2015-05-02  6:28 ` [OSSTEST Nested PATCH v9 4/9] Edit some APIs in TestSupport.pm for nested test longtao.pang
2015-05-06 10:55   ` Ian Campbell
2015-05-02  6:28 ` [OSSTEST Nested PATCH v9 5/9] Move the codes about memory size setting into prep() longtao.pang
2015-05-06 10:57   ` Ian Campbell
2015-05-02  6:28 ` [OSSTEST Nested PATCH v9 6/9] Changes on test step of Debian hvm guest install longtao.pang
2015-05-06 11:03   ` Ian Campbell
2015-05-02  6:28 ` [OSSTEST Nested PATCH v9 7/9] Add new script to customize nested test configuration longtao.pang
2015-05-06 11:36   ` Ian Campbell
2015-05-07  7:42     ` Pang, LongtaoX
2015-05-07  9:16       ` Ian Campbell
2015-05-02  6:28 ` [OSSTEST Nested PATCH v9 8/9] Compose the main recipe of nested test job longtao.pang
2015-05-06 11:04   ` Ian Campbell
2015-05-02  6:28 ` [OSSTEST Nested PATCH v9 9/9] Add test job for nest test case longtao.pang
2015-05-06 11:07   ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1430909373.2660.215.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=longtaox.pang@intel.com \
    --cc=robert.hu@intel.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.