<div dir="ltr">Hello,<div>  I have a Java application from which I am invoking the "virsh console" command to access the console of a VM. I invoke the virsh command using ProcessBuilder.start(). However, I am unable to communicate with the stdin of the VMs console through the OutputStream of the Process object.</div>
<div><br></div><div>  When I invoke "virsh console" from within Java, I see the following messages on stderr:</div><div><br></div><div><div>info : libvirt version: 0.9.8</div><div>error : vshRunConsole:318 : unable to get tty attributes: Inappropriate ioctl for device</div>
<div><br></div><div>  Does anybody know how I can workaround this? Thanks.</div><div><div dir="ltr">--<div>Regards,</div><div>Nagaraj</div></div></div>
</div></div>