From 8c6f27e7d85a794698eb1cd32c58df28cece50d1 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 7 Apr 2023 17:32:59 +0200 Subject: block: remove has_variable_length from BlockDriver Fill in the field in BlockLimits directly for host devices, and copy it from there for the raw format. Signed-off-by: Paolo Bonzini Message-Id: <20230407153303.391121-5-pbonzini@redhat.com> Reviewed-by: Eric Blake Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- include/block/block_int-common.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/block/block_int-common.h b/include/block/block_int-common.h index a6d271f25d..f01bb8b617 100644 --- a/include/block/block_int-common.h +++ b/include/block/block_int-common.h @@ -158,8 +158,6 @@ struct BlockDriver { */ bool supports_backing; - bool has_variable_length; - /* * Drivers setting this field must be able to work with just a plain * filename with ':' as a prefix, and no other options. -- cgit v1.2.3