[PATCH 0/5] Introduce VIR_CONNECT_GET_ALL_DOMAINS_STATS_BEST_EFFORT

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

 



Problem is, if there is a long standing job on a domain fetching
statistics might hiccup which might be a problem for mgmt apps that
query stats every few seconds.

Orthogonal to this, I think we should break our sync QEMU_JOB_* into two
separate jobs: one for qemu monitor the other for qemu guest agent.
Problem is, if thread A grabs QEMU_JOB_MODIFY and talks only to guest
agent it prevents thread B from grabbing QEMU_JOB_QUERY which wants to
talk only to qemu monitor. But this is a different can of worms and I
haven't thought it through completely just yet.

Michal Privoznik (5):
  qemu_domain: Document qemuDomainObjBeginJob
  qemuDomainObjBeginJobInternal: Remove spurious @ret assignment
  qemu_domain: Introduce qemuDomainObjBeginJobInstant
  Introcude VIR_CONNECT_GET_ALL_DOMAINS_STATS_BEST_EFFORT
  virsh: Introduce --best-effort to domstats

 include/libvirt/libvirt-domain.h |  1 +
 src/libvirt-domain.c             | 10 +++++++++
 src/qemu/qemu_domain.c           | 47 ++++++++++++++++++++++++++++++++++------
 src/qemu/qemu_domain.h           |  4 ++++
 src/qemu/qemu_driver.c           | 15 ++++++++++---
 tools/virsh-domain-monitor.c     |  7 ++++++
 tools/virsh.pod                  | 16 +++++++++-----
 7 files changed, 85 insertions(+), 15 deletions(-)

-- 
2.16.4

--
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]

  Powered by Linux