[libvirt] [PATCH] Introduce virt-console

Richard W.M. Jones rjones at redhat.com
Thu Jan 15 14:05:14 UTC 2009


On Thu, Jan 15, 2009 at 01:51:21PM +0000, John Levon wrote:
> No - if this ever happens, it will not break pty-using code. Again, what
> test are you thinking of to detect that the pty code is STREAMS based?
> I'm not being obstructive here - I genuinely cannot conceive what such a
> test would look like.

I think something as simple as:

  AC_CHECK_FUNCS([isastream])

is sufficient to check whether the libc claims to support STREAMS.  If
it turns out that someone has installed a buggy STREAMS
implementation, we can make the check more fine-grained later.

Rich.

http://www.opengroup.org/onlinepubs/009695399/functions/isastream.html

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the libvir-list mailing list