]> git.proxmox.com Git - mirror_qemu.git/commit
hmp: Request permissions in qemu-io
authorKevin Wolf <kwolf@redhat.com>
Fri, 10 Feb 2017 15:24:56 +0000 (16:24 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:47:50 +0000 (20:47 +0100)
commit887354bd13ecb7ff68ec26892806c97512b77877
treeb6c36a3eeaaed92bf92e60ed601ec3e8648401f5
parent0db832f42e445398b2815cd740e9cd915e7dd644
hmp: Request permissions in qemu-io

The HMP command 'qemu-io' is a bit tricky because it wants to work on
the original BlockBackend, but additional permissions could be required.
The details are explained in a comment in the code, but in summary, just
request whatever permissions the current qemu-io command needs.

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
hmp.c
include/qemu-io.h
include/sysemu/block-backend.h
qemu-io-cmds.c