[PATCH 0/7] Introduce virCommandDoAsyncIO

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

 



Currently, if we want to use IO with asynchronous command we have
to copy code from virFileWrapperFd to misuse our event loop for
reading and writing to the command. However, we can extend our
virCommand implementation to automatically set things up.

Michal Privoznik (7):
  virCommand: Introduce virCommandDoAsyncIO
  Introduce event loop to commandtest
  tests: Create test for virCommandDoAsyncIO
  virFileWrapperFd: Switch to new virCommandDoAsyncIO
  qemu: Catch stderr of image decompression binary
  qemu: Catch stderr of image compression binary
  qemu: Destroy domain on decompression binary error

 src/libvirt_private.syms    |   1 +
 src/qemu/qemu_driver.c      |   9 +-
 src/qemu/qemu_migration.c   |   9 +-
 src/util/vircommand.c       | 214 ++++++++++++++++++++++++++++++++++++++++++--
 src/util/vircommand.h       |   1 +
 src/util/virfile.c          |  82 +----------------
 tests/commanddata/test3.log |   2 +-
 tests/commandtest.c         | 136 ++++++++++++++++++++++++++++
 8 files changed, 365 insertions(+), 89 deletions(-)

-- 
1.8.0.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]