Displaying 2 results from an estimated 2 matches for "vshrunconsole".
2014 May 15
3
Invoking virsh console from Java
...rsh command using
ProcessBuilder.start(). However, I am unable to communicate with the stdin
of the VMs console through the OutputStream of the Process object.
When I invoke "virsh console" from within Java, I see the following
messages on stderr:
info : libvirt version: 0.9.8
error : vshRunConsole:318 : unable to get tty attributes: Inappropriate
ioctl for device
Does anybody know how I can workaround this? Thanks.
--
Regards,
Nagaraj
2014 May 15
0
Re: Invoking virsh console from Java
...art(). However, I am unable to communicate with the stdin
> of the VMs console through the OutputStream of the Process object.
>
> When I invoke "virsh console" from within Java, I see the following
> messages on stderr:
>
> info : libvirt version: 0.9.8
> error : vshRunConsole:318 : unable to get tty attributes: Inappropriate
> ioctl for device
>
> Does anybody know how I can workaround this? Thanks.
Why not just directly use the Java bindings from libvirt-java to access
the console directly from your Java program, instead of trying to spawn
a third-party ap...