[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] What's the benefit and design purpose of Xen Console for HVM guest.



CC'ing back xen-devel.

On Fri, 29 Mar 2013, Wei Xu wrote:
> I have test the kgdb kernel debugging via serial, it works good when i used 
> the physical serial to connect the 2 HVM guests(host
> and target), is it possible to debugging kernel via Xen Console?

I know very little about kgdb but I know that other people on the list
use it. I guess it should be possible.


> I know xen console will related to different file in "/dev/pts" for different 
> HVM guest, so this is impossible by now, is it
> possible to fit it? that means xen console is a full replacement of the 
> emulated serial.

I don't understand what you mean here. Xen PV consoles also correspond to
some /dev/pts devices in dom0.


> what i am wondering most is why did Xen Console come to mind in the early 
> date, that's why did it raise? Was it going to replace
> the emulated serial, or just an additional way to access the guest with high 
> performance or sth other.

Two main reasons come to mind: if you need additional console for
logging, PV consoles provide you with a solution.
If you need to debug an PV on HVM kernel very early on at resume time,
PV consoles can be re-initialized much earlier than emulated serials.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.