]> git.ipfire.org Git - thirdparty/libvirt.git/commit
examples: add consolecallback example python script
authorDave Allan <dallan@redhat.com>
Tue, 29 May 2012 22:49:13 +0000 (16:49 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 29 May 2012 22:54:12 +0000 (16:54 -0600)
commitffc9f7ab4f203ce6825dbdc22b75f0894ae833b2
tree8685479d3eca214d74000c9352b3c54338f372bf
parent620dda66618d16a9bc5ab0ce85fd0e3834dbbc9d
examples: add consolecallback example python script

A while back I wrote the attached code to demonstrate how to use
events and serial console to create a serial console that stays up
even when the VM is down.  It might need some work, as I am not
terribly strong with Python.

* examples/python/consolecallback.py: New file.
* examples/python/Makefile.am (EXTRA_DIST): Ship it.
examples/python/Makefile.am
examples/python/consolecallback.py [new file with mode: 0644]