Re: qemu-send.c (was Re: Since we're sharing, here's my kvmctl script)

Javier Guerra Giraldez
2008-06-12T02:09:42Z

[-- Attachment #1: Type: text/plain, Size: 589 bytes --]

On Wednesday 11 June 2008, Chris Webb wrote:
> Hi. I have a small 'qemu-send' utility for talking to a running qemu/kvm
> process whose monitor console listens on a filesystem socket, which I think
> might be a useful building block when extending these kinds of script to do
> things like migratation, pausing, and so on. The source is attached.

there's a utility called socat that let's you send text to/from TCP sockets
and unix-domain sockets. it can even (temporarily) attach the terminal, or
use GNU's readline to regain interactive control of KVM/Qemu

--
Javier

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]