diff options
| author | Anton Nefedov <anton.nefedov@virtuozzo.com> | 2017-07-06 15:09:00 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-07-14 11:04:34 +0200 |
| commit | 1a29cc8f5ebd657e159dbe4be340102595846d42 (patch) | |
| tree | 0ff4daeb09242021da568ccfc116c21e9b3c282c /scripts/modules/module_block.py | |
| parent | 757358425e3d6b22ac312f8f69dcaf44ed523ad0 (diff) | |
| download | focaccia-qemu-1a29cc8f5ebd657e159dbe4be340102595846d42.tar.gz focaccia-qemu-1a29cc8f5ebd657e159dbe4be340102595846d42.zip | |
serial: chardev hotswap support
This allows to change the port's backend runtime, e.g. change it from file to a socket making it possible to establish a debug session with WinDbg > qemu-system [..] -chardev file,id=charchannel2,path=/tmp/charchannel2 \ -device isa-serial,chardev=charchannel2,id=channel2 QEMU 2.9.50 monitor - type 'help' for more information (qemu) chardev-change charchannel2 \ socket,host=127.0.0.1,port=4242,server,nowait For a backend change, a number of ioctls has to be replayed to sync the current setup of a frontend to a backend tty. This is hopefully enough so we don't have to track, store and replay the whole original control byte sequence. Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <1499342940-56739-14-git-send-email-anton.nefedov@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/modules/module_block.py')
0 files changed, 0 insertions, 0 deletions