On 01/19/2016 11:51 PM, John Snow wrote:
> Currently, 'drive' is used both to represent the current diskette
> type as well as the current drive type.
> 
> This patch adds a 'disk' field that is updated explicitly to match
> the type of the disk.
> 
> As of this patch, disk and drive are always the same, but forthcoming
> patches to change the behavior of pick_geometry will invalidate this
> assumption.
> 
> disk does not need to be migrated because it is not user-visible state
> nor is it currently used for any calculations. It is purely informative,
> and will be rebuilt automatically via fd_revalidate on the new host.
> 
> Signed-off-by: John Snow <js...@redhat.com>
> ---
>  hw/block/fdc.c | 3 +++
>  1 file changed, 3 insertions(+)
> 

Reviewed-by: Eric Blake <ebl...@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to