[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen/hvc: Fix polling mode to work with kdb/kgdb
> > On Thu, Jun 07, 2012 at 09:30:06AM -0400, Ben Guthro wrote: > >> Fix the polling section of the hvc driver to use the global "last_hvc" > >> variable, rather than the ttys. > > > > Could you just do: > > > > struct tty_struct *tty = driver->ttys[last_hvc]; > > > > as well? > > No. I tried this, and never got to the kdb prompt. > It seems that the problem is that you need to use the cons_ops variable > > My efforts to fully understand the inner-workings of the console code > were thwarted by time. Its a twisty bunch of code. > If I used the cons_ops variable static to the module, it was OK. > If I used driver->ttys - {get,put}_chars() never got called. Well, now that you guys are working for a big corporation you can relax and afford to spend some time digging in the inner-workings I think :-) .. snip.. > > Hm, if that is the problem then this should also be a problem on > > IBM Power boxes I would think? > > Not sure...but I think the original submitter of this code was > > commit 762e77ae7dd055d0b77e0ad34d87db7416df109e > Author: Anton Blanchard <anton@xxxxxxxxx> > Date: Tue Jul 12 19:44:05 2011 +0000 > > hvc_console: Add kdb support > > > Was that for IBM? No. But the 'hvc' system is used on IBM Power machines as well. Hence my thought that if it didn't work under Xen it probably didn't work under IBM Power machines either. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |