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(-) -- 2.14.4
