From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Pang, LongtaoX" Subject: Re: [PATCH OSSTEST 05/12] Add and expose some testsupport APIs Date: Wed, 4 Mar 2015 06:21:02 +0000 Message-ID: <86C3224E41A7434B904EC364302132D80E459F33@SHSMSX101.ccr.corp.intel.com> References: <1423648341-203755-1-git-send-email-robert.hu@intel.com> <1423648341-203755-6-git-send-email-robert.hu@intel.com> <21723.27918.656302.518760@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21723.27918.656302.518760@mariner.uk.xensource.com> Content-Language: en-US List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson , "Hu, Robert" Cc: "jfehlig@suse.com" , "wei.liu2@citrix.com" , "ian.campbell@citrix.com" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org > -----Original Message----- > From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > Sent: Wednesday, February 11, 2015 10:54 PM > To: Hu, Robert > Cc: xen-devel@lists.xen.org; jfehlig@suse.com; wei.liu2@citrix.com; > ian.campbell@citrix.com; Pang, LongtaoX > Subject: Re: [PATCH OSSTEST 05/12] Add and expose some testsupport APIs > > Robert Ho writes ("[PATCH OSSTEST 05/12] Add and expose some testsupport > APIs"): > > When install L2 guest, we will need to invoke 'select_ether' to get > > guest MAC address. So here expose select_ether(). > > I'm not sure whether you actually need to do this. I will look at the rest of > your series to see why prepareguest() isn't suitable. But this part of the patch > is fine in principle. > > > And > > These seem like two indepenedent patches. They should be split up. > > > also, we added another function 'guest_editconfig_cd' and expose it. > > This function bascically changes guest boot device sequence and > > alter its on_reboot behavior to restart. > > I don't understand why guest_editconfig_nocd isn't sufficient. > After finishing L1 guest VM installation, we need to change L1 guest boot sequence from ISO image to hard disk, so we will edit the "boot=cd" in hvm configure file and we added 'guest_editconfig_cd'. But, guest_editconfig_nocd could not get this point. > Ian.