diff options
| author | John Snow <jsnow@redhat.com> | 2016-01-22 15:50:57 -0500 |
|---|---|---|
| committer | John Snow <jsnow@redhat.com> | 2016-01-25 14:35:23 -0500 |
| commit | 16c1e3ece4052ebeb2fdf3b6560cca431d0359b9 (patch) | |
| tree | e93f1680a86698195ca9798076344b996e6d79b5 /hw/core/qdev-properties.c | |
| parent | 2da44dd0c60488727e9ca429ec1480e0968d0ca1 (diff) | |
| download | focaccia-qemu-16c1e3ece4052ebeb2fdf3b6560cca431d0359b9.tar.gz focaccia-qemu-16c1e3ece4052ebeb2fdf3b6560cca431d0359b9.zip | |
fdc: add disk field
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. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: John Snow <jsnow@redhat.com> Message-id: 1453495865-9649-5-git-send-email-jsnow@redhat.com
Diffstat (limited to 'hw/core/qdev-properties.c')
0 files changed, 0 insertions, 0 deletions