[Libvir] 6/22 Disable console under MinGW
Daniel P. Berrange
berrange at redhat.com
Fri Dec 7 14:43:11 UTC 2007
On Fri, Dec 07, 2007 at 11:24:15AM +0000, Richard W.M. Jones wrote:
> Under MinGW we don't have anything like termcap. This disables the
> console in virsh, replacing "virsh console" with an error message.
More fundamentally, the console is intended to connect to /dev/pts/XXX
associate with guest VMs. Since we're not running any VMs on Windows
there's no /dev/pts to connect to so the command is pointless anyway.
The console command should also look at the URI to see if its a remote style
URI, and refuse to do anything in that case even for Linux.
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 libvir-list
mailing list