diff options
author | Max Reitz <mreitz@redhat.com> | 2019-11-08 13:34:53 +0100 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2020-06-22 12:38:34 -0500 |
commit | 9a30621d3d5de76f865dc804a1dd16cc517461b6 (patch) | |
tree | fc1f60665ccc707d1dd2b64b52ae0d62258f1844 /tests | |
parent | 0972fbf353e436088bbc4180bc13e93245cd7add (diff) | |
download | qemu-9a30621d3d5de76f865dc804a1dd16cc517461b6.zip qemu-9a30621d3d5de76f865dc804a1dd16cc517461b6.tar.gz qemu-9a30621d3d5de76f865dc804a1dd16cc517461b6.tar.bz2 |
blkdebug: Allow taking/unsharing permissions
Sometimes it is useful to be able to add a node to the block graph that
takes or unshare a certain set of permissions for debugging purposes.
This patch adds this capability to blkdebug.
(Note that you cannot make blkdebug release or share permissions that it
needs to take or cannot share, because this might result in assertion
failures in the block layer. But if the blkdebug node has no parents,
it will not take any permissions and share everything by default, so you
can then freely choose what permissions to take and share.)
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20191108123455.39445-4-mreitz@redhat.com
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
(cherry picked from commit 69c6449ff10fe4e3219e960549307096d5366bd0)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions