diff options
author | John Snow <jsnow@redhat.com> | 2016-01-22 15:50:56 -0500 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2016-01-25 14:35:23 -0500 |
commit | 2da44dd0c60488727e9ca429ec1480e0968d0ca1 (patch) | |
tree | add4a239cf748351f409b67e93eb91475780033f /qapi | |
parent | 21862658fdd1f3024cb477834a959588cfad036f (diff) |
fdc: add drive type qapi enum
Change the floppy drive type to a QAPI enum type, to allow us to
specify the floppy drive type from the CLI in a forthcoming patch.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1453495865-9649-4-git-send-email-jsnow@redhat.com
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/block.json | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/qapi/block.json b/qapi/block.json index 84022f12be..ed61f82359 100644 --- a/qapi/block.json +++ b/qapi/block.json @@ -40,6 +40,22 @@ 'data': ['auto', 'none', 'lba', 'large', 'rechs']} ## +# @FloppyDriveType +# +# Type of Floppy drive to be emulated by the Floppy Disk Controller. +# +# @144: 1.44MB 3.5" drive +# @288: 2.88MB 3.5" drive +# @120: 1.2MB 5.25" drive +# @none: No drive connected +# @auto: Automatically determined by inserted media at boot +# +# Since: 2.6 +## +{ 'enum': 'FloppyDriveType', + 'data': ['144', '288', '120', 'none', 'auto']} + +## # @BlockdevSnapshotInternal # # @device: the name of the device to generate the snapshot from |