![]() ![]() There is just a C function called "ptsname", but I didn't find a script command to do the same. The problem I'm facing is that I don't know any mean of retreiving the pts part (the slave part) of that opened master tty. If you look at the file descriptors of the kvm VM (lsof -p, you found : so I search a method to retreive the actual pts which the VM points to. My problem now is when the VM has run for a while, there is no more the "char device redirected to /dev/pts/X" in the logs. Type for example :īE CAREFUL, to exit from that console, just press Ctrl+C (to quit socat actually). Install the socat command (sudo apt-get install socat) and type in : It tells you that kvm console is accessible to /dev/pts/X tty. ![]() When I run "virsh define domain.xml", it doesn't error, but neither the serial nor the console sections show up when I then dump the XML in virsh. I'm running hardy also, and adding the and devices isn't working for me. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |