OSDN Git Service

block/qapi: Convert qmp_query_block() to BlockBackend
authorMarkus Armbruster <armbru@redhat.com>
Tue, 7 Oct 2014 11:59:23 +0000 (13:59 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 20 Oct 2014 12:03:50 +0000 (14:03 +0200)
commitd829a2115f0817993e2b683601cb544a27980a8f
tree083f268c445c9d4a6473e79a3e964bb45ded9c06
parent26f8b3a84750546342d4397f86efb1ea7798d5dd
block/qapi: Convert qmp_query_block() to BlockBackend

Much more command code needs conversion.  I start with this one
because it's using bdrv_dev_* functions, which I'm about to lift into
BlockBackend.

While there, give bdrv_query_info() internal linkage.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qapi.c
include/block/qapi.h