mbox series

[RFC,v2,0/6] dirty-bitmaps: fix QMP command permissions

Message ID 20180921222847.1012-1-jsnow@redhat.com (mailing list archive)
Headers show
Series dirty-bitmaps: fix QMP command permissions | expand

Message

John Snow Sept. 21, 2018, 10:28 p.m. UTC
This builds on the previous standalone patch I sent and audits
the permissions we check for other QMP operations on bitmaps.

This should make it more consistent overall, but it's not
complete and I'm heading out for a long weekend, but I wanted
them on the list.

I think I should reorder the patches at least, and I need to
write some tests that I can submit upstream in a polished form.

John Snow (6):
  dirty-bitmaps: allow merging to disabled bitmaps
  bitmaps: allow clear on disabled bitmaps
  bitmaps: prohibit merge on locked bitmaps
  bitmaps: add user_modifiable status checker
  bitmaps: prohibit enable/disable on locked/frozen bitmaps
  block/backup: prohibit backup from using in-use bitmaps

 block/dirty-bitmap.c         |  9 ++++--
 blockdev.c                   | 66 ++++++++++++++++++++------------------------
 include/block/dirty-bitmap.h |  1 +
 3 files changed, 38 insertions(+), 38 deletions(-)