Thanks for your reply.<br><br>I have tried the method but it looks still can&#39;t work, there is no &quot;hvc0&quot; device file in my &quot;/dev&quot; directory,<br>is that the root cause?<br><br><br><div class="gmail_quote">
On Mon, Aug 20, 2012 at 11:47 PM, Stefano Stabellini <span dir="ltr">&lt;<a href="mailto:stefano.stabellini@eu.citrix.com" target="_blank">stefano.stabellini@eu.citrix.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, 20 Aug 2012, Konrad Rzeszutek Wilk wrote:<br>
&gt; On Mon, Aug 20, 2012 at 09:39:56PM +0800, Wei Xu wrote:<br>
&gt; &gt; &gt; Hi All,<br>
&gt; &gt; &gt; I&#39;m try to set up and verify Xen console driver base on Fedora 17 and Xen<br>
&gt; &gt; &gt; 4.1.2 with hvm guest mode,<br>
&gt; &gt; &gt; i searched around and got a link, it give steps both for PV and HVM mode,<br>
&gt; &gt; &gt; I followed the HVM guide<br>
&gt; &gt; &gt; and upgraded my kernel to 3.5.0.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;            <a href="http://www.dedoimedo.com/computers/xen-console.html" target="_blank">http://www.dedoimedo.com/computers/xen-console.html</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; After that, I can got console output with &quot;xm console &lt;dom_id&gt;&quot;, but the<br>
&gt; &gt; &gt; console driver is not used when I tracing the driver<br>
&gt;<br>
&gt; .. I am not sure I understand: &quot;when I tracing the driver&quot; ? Are<br>
&gt; you referring to the PV driver?<br>
&gt;<br>
&gt; &gt; &gt; with &quot;crash&quot; utility, by examing the &quot;console_drivers&quot;, the console driver<br>
&gt; &gt; &gt; is still &quot;serial8250 console&quot;, so i wonder if I didn&#39;t<br>
&gt; &gt; &gt; set up it properly or something else, is there someone ever experienced<br>
&gt; &gt; &gt; it, thanks.<br>
&gt;<br>
&gt; Hm, it should be the hvc one. Perhaps Stefano knows..<br>
&gt;<br>
&gt; CC-ing him and xen-devel here.<br>
<br>
</div>An HVM guest has access to both an emulated serial (if a serial=&quot;pty&quot;<br>
parameter is present in the VM config file) and a PV console.<br>
However the default first console is the emulated serial with libxl (see<br>
libxl__primary_console_find), that is what you get when you execute &quot;xl<br>
console&quot; without -t.<br>
<br>
But if you edit inittab to spawn a getty on hvc0 and then execute &quot;xl<br>
console -t pv&quot; you should get access to the PV console.<br>
</blockquote></div><br>