]> git.proxmox.com Git - mirror_qemu.git/commit - include/sysemu/block-backend.h
block: Add permissions to BlockBackend
authorKevin Wolf <kwolf@redhat.com>
Fri, 20 Jan 2017 14:42:39 +0000 (15:42 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:40:36 +0000 (20:40 +0100)
commit981776b34875ef75b218a338e1831b8fc65ea6bd
tree674bf4a9192d58cded0335b7c5c6ae0a5af8c7ea
parentf68c598be6a48995ca4c7cc42fc1f6e1195ec7aa
block: Add permissions to BlockBackend

The BlockBackend can now store the permissions that its user requires.
This is necessary because nodes can be ejected from or inserted into a
BlockBackend and all of these operations must make sure that the user
still gets what it requested initially.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
block/block-backend.c
include/sysemu/block-backend.h