hw/block/fdc: Extract blk_create_empty_drive()
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 24 Nov 2021 16:15:34 +0000 (17:15 +0100)
committerJohn Snow <jsnow@redhat.com>
Thu, 2 Dec 2021 06:09:38 +0000 (01:09 -0500)
commitb154791e7b6d4ca5cdcd54443484d97360bd7ad2
tree9f28583b907da72130582a558641cc18b8a5234c
parent682aa69b1f4dd5f2905a94066fa4c853adc33251
hw/block/fdc: Extract blk_create_empty_drive()

We are going to re-use this code in the next commit,
so extract it as a new blk_create_empty_drive() function.

Inspired-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20211124161536.631563-2-philmd@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
hw/block/fdc.c