mbox series

[v3,0/3] xen: fix a potential crash in xen-bus

Message ID 20190913082159.31338-1-paul.durrant@citrix.com (mailing list archive)
Headers show
Series xen: fix a potential crash in xen-bus | expand

Message

Paul Durrant Sept. 13, 2019, 8:21 a.m. UTC
This series fixes a potential segfault caused by NotifierList corruption
in xen-bus. The first two patches lay the groundwork and the third
actually fixes the problem.

Paul Durrant (3):
  xen / notify: introduce a new XenWatchList abstraction
  xen: introduce separate XenWatchList for XenDevice objects
  xen: perform XenDevice clean-up in XenBus watch handler

 hw/xen/trace-events      |   9 +-
 hw/xen/xen-bus.c         | 277 ++++++++++++++++++++++++++++-----------
 include/hw/xen/xen-bus.h |   8 +-
 include/qemu/notify.h    |   2 +
 util/notify.c            |   5 +
 5 files changed, 220 insertions(+), 81 deletions(-)
---
Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>