[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v4 0/6] dirty-bitmaps: fix QMP command permissions
From: |
John Snow |
Subject: |
[Qemu-block] [PATCH v4 0/6] dirty-bitmaps: fix QMP command permissions |
Date: |
Tue, 2 Oct 2018 19:02:12 -0400 |
based on: jsnow/bitmaps staging branch
This series builds on a previous standalone patch and adjusts
the permission for all (or most) of the QMP bitmap commands.
V4:
- Replace "in-use" with "in use"
- Replace "user_modifiable" version with "user_locked"
- Remove more usages of frozen-and-or-locked in NBD.
John Snow (6):
block/dirty-bitmaps: add user_locked status checker
block/dirty-bitmaps: fix merge permissions
block/dirty-bitmaps: allow clear on disabled bitmaps
block/dirty-bitmaps: prohibit enable/disable on locked/frozen bitmaps
block/backup: prohibit backup from using in use bitmaps
nbd: forbid use of frozen bitmaps
block/dirty-bitmap.c | 13 +++++---
blockdev.c | 75 +++++++++++++++++++-----------------------
include/block/dirty-bitmap.h | 1 +
migration/block-dirty-bitmap.c | 10 ++----
nbd/server.c | 4 +--
5 files changed, 48 insertions(+), 55 deletions(-)
--
2.14.4