[et-mgmt-tools] serial console to windows hvm guest

Daniel P. Berrange berrange at redhat.com
Mon Oct 15 20:21:17 UTC 2007


On Mon, Oct 15, 2007 at 01:08:14PM -0700, Andy Grover wrote:
> Hi all,
> 
> If I understand correctly, I need to define serial='pty' in my guest's
> config file in order for xm (or virsh) console to work. However, I
> didn't use a config file, I had virt-manager/libvirt do it.
> 
> What is the XML equivalent of serial='pty'? I tried virsh dumpxml,
> adding "<serial>pty</serial>", but it didn't stick after doing virsh
> define.

  <console tty='pty'/>

When the guest is running  'pty' will be replaced by the actuall path that
was opened, and you can use  'virsh console' to access it.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the et-mgmt-tools mailing list