Based on previous discussions, I wanted to enhance the recently
merged report_once infrastucture with a way to print a message
once based on a variable instead of globally-once, similar to
what vfio-ccw uses today.

Not really tested, mainly wanted to get this out before my vacation
to get the ball rolling.

Cornelia Huck (3):
  qemu-error: add {error,warn}_report_once_cond
  qemu-error: make use of {error,warn}_report_once_cond
  vfio-ccw: switch to warn_report_once_cond()

 hw/vfio/ccw.c               | 18 +++---------------
 include/qemu/error-report.h | 15 +++++++--------
 util/qemu-error.c           | 44 ++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 54 insertions(+), 23 deletions(-)

-- 
2.14.4


Reply via email to