[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 0/7 v2] python: Implement missing stream/event ops



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.

v2:
    Pushed first 3 patches
    Actually export virEvent APIs in libvirt.h

    DV had comments on patch 1 and patch 6 that I didn't address, if I
    haven't managed to convince him (or others) with my latest mails I
    can do another rev of the series.

Cole Robinson (7):
  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 +-
 include/libvirt/libvirt.h.in                       |   14 +
 python/generator.py                                |   12 +-
 python/libvirt-override-virConnect.py              |  102 +++----
 python/libvirt-override-virStream.py               |  101 +++++++-
 python/libvirt-override.c                          |  274 +++++++++++++++++---
 python/libvirt-override.py                         |   80 ++++++-
 python/typewrappers.c                              |   14 +
 python/typewrappers.h                              |    1 +
 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 -
 35 files changed, 559 insertions(+), 211 deletions(-)

-- 
1.7.4.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]