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

[libvirt] [PATCH v2 0/8] Add support for taking screenshots



Diff to v1:
 - filename argument replaced with stream
 - returning file mime-type

This patch series implements screenshots taking feature,
which is accessible via new virDomainScreenshot API and
'screenshot' command in virsh. By now, 'flags' argument
is not used, but can be later when specifying say image
output format, etc. Talking of - output is hypervisor
specific. QEMU output images in PPM, VirtualBox in PNG.

Michal Privoznik (8):
  screenshot: Defining the public API
  screenshot: Defining the internal API
  screenshot: Implementing the public API
  screenshot: Implementing the remote protocol
  screenshot: Expose the new API in virsh
  virFDStream: Add option for delete file after it's opening
  qemu: Implement the driver methods
  vbox: Implement the driver methods

 daemon/remote.c                     |   61 +++++++++++++++++++
 daemon/remote_dispatch_args.h       |    1 +
 daemon/remote_dispatch_prototypes.h |    8 +++
 daemon/remote_dispatch_ret.h        |    1 +
 daemon/remote_dispatch_table.h      |    5 ++
 include/libvirt/libvirt.h.in        |    7 ++
 src/driver.h                        |    5 ++
 src/esx/esx_driver.c                |    1 +
 src/fdstream.c                      |   25 ++++++--
 src/fdstream.h                      |    6 +-
 src/libvirt.c                       |   56 +++++++++++++++++
 src/libvirt_public.syms             |    5 ++
 src/libxl/libxl_driver.c            |    1 +
 src/lxc/lxc_driver.c                |    4 +-
 src/openvz/openvz_driver.c          |    1 +
 src/phyp/phyp_driver.c              |    1 +
 src/qemu/qemu_driver.c              |   82 +++++++++++++++++++++++++-
 src/qemu/qemu_monitor.c             |   20 ++++++
 src/qemu/qemu_monitor.h             |    3 +
 src/qemu/qemu_monitor_json.c        |   23 +++++++
 src/qemu/qemu_monitor_json.h        |    4 +
 src/qemu/qemu_monitor_text.c        |   31 ++++++++++
 src/qemu/qemu_monitor_text.h        |    2 +
 src/remote/remote_driver.c          |   38 ++++++++++++
 src/remote/remote_protocol.c        |   20 ++++++
 src/remote/remote_protocol.h        |   16 +++++
 src/remote/remote_protocol.x        |   12 ++++-
 src/storage/storage_driver.c        |    4 +-
 src/test/test_driver.c              |    1 +
 src/uml/uml_driver.c                |    4 +-
 src/util/iohelper.c                 |   12 +++-
 src/vbox/vbox_tmpl.c                |  114 +++++++++++++++++++++++++++++++++++
 src/vmware/vmware_driver.c          |    1 +
 src/xen/xen_driver.c                |    4 +-
 src/xen/xen_driver.h                |    1 +
 src/xen/xen_hypervisor.c            |    1 +
 src/xen/xen_inotify.c               |    1 +
 src/xen/xend_internal.c             |    1 +
 src/xen/xm_internal.c               |    1 +
 src/xen/xs_internal.c               |    1 +
 src/xenapi/xenapi_driver.c          |    1 +
 tools/virsh.c                       |   90 +++++++++++++++++++++++++++
 tools/virsh.pod                     |    4 +
 43 files changed, 664 insertions(+), 16 deletions(-)

-- 
1.7.4


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