[libvirt] [PATCH 00/10] python: Implement missing stream/event ops

Cole Robinson crobinso at redhat.com
Thu Jun 16 01:23:09 UTC 2011


Currently it isn't possible to implement the equivalent of 'virsh console'
with the python bindings. This series implements the missing functionality
required to do so.

Cole Robinson (10):
  python: libvirt-override: use simpler debug
  python: generator: Don't print warning if nothing to warn about
  python: Implement bindings for virStreamEventAddCallback
  python: Implement virStreamSend/Recv
  python: Implement virStreamSend/RecvAll helpers
  Promote virEvent*Handle/Timeout to public API
  events: Correct virEventAddTimeout docs
  python: Add bindings for virEvent*Handle/Timeout
  python: events: Fix C->Python handle callback prototype
  python: Mark event callback wrappers as private

 daemon/libvirtd.c                                  |    1 -
 daemon/mdns.c                                      |    1 -
 examples/domain-events/events-python/event-test.py |    6 +-
 python/generator.py                                |   27 +-
 python/libvirt-override-virConnect.py              |  102 ++---
 python/libvirt-override-virStream.py               |  123 +++++-
 python/libvirt-override.c                          |  492 ++++++++++++++-----
 python/libvirt-override.py                         |   80 +++-
 python/typewrappers.c                              |   14 +
 python/typewrappers.h                              |    2 +-
 src/conf/domain_event.c                            |    1 -
 src/conf/domain_event.h                            |    1 -
 src/fdstream.c                                     |    1 -
 src/libvirt_private.syms                           |    9 -
 src/libvirt_public.syms                            |    6 +
 src/libxl/libxl_driver.c                           |    1 -
 src/lxc/lxc_driver.c                               |    1 -
 src/network/bridge_driver.c                        |    1 -
 src/node_device/node_device_hal.c                  |    1 -
 src/node_device/node_device_udev.c                 |    1 -
 src/openvz/openvz_driver.c                         |    1 -
 src/qemu/qemu_domain.c                             |    1 -
 src/qemu/qemu_driver.c                             |    1 -
 src/qemu/qemu_monitor.c                            |    1 -
 src/remote/remote_driver.c                         |    1 -
 src/test/test_driver.c                             |    1 -
 src/uml/uml_driver.c                               |    1 -
 src/util/event.c                                   |   56 +++
 src/util/event.h                                   |   73 ---
 src/util/util.c                                    |    1 -
 src/vbox/vbox_tmpl.c                               |    1 -
 src/xen/xen_inotify.c                              |    1 -
 src/xen/xs_internal.c                              |    1 -
 tools/console.c                                    |    1 -
 34 files changed, 692 insertions(+), 320 deletions(-)

-- 
1.7.4.4




More information about the libvir-list mailing list