From: Ian Campbell Subject: Re: hvc0 xvc0 "compatibility"? Date: Wed, 24 Jun 2009 09:24:09 +0100 Message-ID: <1245831849.31273.3.camel@zakaz.uk.xensource.com> References: <1e94c5b1-6169-4e07-924c-4316a3ecb330@default> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1e94c5b1-6169-4e07-924c-4316a3ecb330@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer Cc: "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org On Tue, 2009-06-23 at 16:00 -0400, Dan Magenheimer wrote: > I have a (RHEL5) guest that I alternate booting with a 2.6.18-xen > kernel and an upstream kernel. > > Upstream uses hvc0 for the console and 2.6.18-xen uses xvc0. To > switch between them, I manually modify /etc/inittab. If I > forget to do this, I get no login prompt and have to destroy > the domain, restart selecting the other kernel, etc. > > Do I recall a patch that allows one of these kernels to > handle both hvc0 and xvc0? That would make my life easier. > Or is this something that can be done in userland? I think you are thinking of linux-2.6.18-xen.hg 762:a070228ac76e "add hvc compatibility mode to xencons". If you add xencons=hvc to your kernel command line then 2.6.18 will use hvc and since pvops will just ignore the unknown option you won't need to keep switching stuff around. Ian. > > Thanks, > Dan > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel