vpc: Do not return RAW from block_status
commitfbc8e1b7e49dee9b137c1037dc72d8e6fd4aba3d
authorMax Reitz <mreitz@redhat.com>
Thu, 25 Jul 2019 15:55:12 +0000 (25 17:55 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 19 Aug 2019 15:13:26 +0000 (19 17:13 +0200)
treeab22a8a77cff7e2a11374e6ece7ab4cc10b3df98
parent4dd84ac9a731f19576aec14d0f2f0037e81a5922
vpc: Do not return RAW from block_status

vpc is not really a passthrough driver, even when using the fixed
subformat (where host and guest offsets are equal).  It should handle
preallocation like all other drivers do, namely by returning
DATA | RECURSE instead of RAW.

There is no tangible difference but the fact that bdrv_is_allocated() no
longer falls through to the protocol layer.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190725155512.9827-4-mreitz@redhat.com
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/vpc.c