Re: RFC: Supporting serial & parallel ports for QEMU (and improving Xen)

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

 



On Thu, May 17, 2007 at 08:12:55AM +0100, Mark McLoughlin wrote:
> Hi Dan,
> 	Looks fine to me ...
> 
> On Wed, 2007-05-16 at 22:12 +0100, Daniel P. Berrange wrote:
> 
> > On Xen we have very simple approach. When creating a guest simply add
> > 
> >   <console/>
> > 
> > And it'll cause a serial port to be setup with an autoallocated pty, so
> > you get back
> > 
> >   <console pty='/dev/pts/5'/>
> > 
> > In retrospect calling it 'console' was dumb, but hey we're stuck with that
> > now and its only a tiny naming issue so I don't mind really.
> 
> 	Why not add 'serial' with the new syntax, making <serial type='pty' />
> equivalent to <console />, and continue supporting the existing
> 'console' syntax?

I thought about this too, but given that it adds complexity to the XML, and 
to the code & is a source of potential confusion, I just don't see that we
come out with a net win.

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  -=| 


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]