From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hu, Robert" Subject: Re: [PATCH OSSTEST 07/12] For hvm guest configuration, config console to 'hvc0' Date: Fri, 13 Feb 2015 07:31:08 +0000 Message-ID: <9E79D1C9A97CFD4097BCE431828FDD31B15E58@SHSMSX103.ccr.corp.intel.com> References: <1423648341-203755-1-git-send-email-robert.hu@intel.com> <1423648341-203755-8-git-send-email-robert.hu@intel.com> <21723.35688.961755.745709@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.35688.961755.745709@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 Cc: "Pang, LongtaoX" , "jfehlig@suse.com" , "wei.liu2@citrix.com" , "ian.campbell@citrix.com" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Best Regards, Robert Ho > -----Original Message----- > From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > Sent: Thursday, February 12, 2015 1:04 AM > 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 07/12] For hvm guest configuration, config > console to 'hvc0' > > Robert Ho writes ("[PATCH OSSTEST 07/12] For hvm guest configuration, config > console to 'hvc0'"): > > --- > > Osstest/TestSupport.pm | 6 +++++- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > > > diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm > > index c23bbc7..864805e 100644 > > --- a/Osstest/TestSupport.pm > > +++ b/Osstest/TestSupport.pm > > @@ -1753,7 +1753,11 @@ sub target_kernkind_check ($) { > > if ($kernkind eq 'pvops') { > > store_runvar($pfx."rootdev", 'xvda') if $isguest; > > store_runvar($pfx."console", 'hvc0'); > > - } elsif ($kernkind !~ m/2618/) { > > + } > > + elsif ($kernkind eq 'hvm'){ > > + store_runvar($pfx."console", 'hvc0'); #nested hvm guest > shall not append console=xvc0; I guess this applies to all hvm guests. > > + } > > + elsif ($kernkind !~ m/2618/) { > > I don't understand why this is necessary. Surely all the kernels here > are pvops so the kernkind should be 'pvops' in all cases and the > console will be set to hvc0 anyway ? Oh, this is my mistake. Will revert. > > Ian.