]> git.ipfire.org Git - thirdparty/qemu.git/commit
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)
committerMichael Roth <michael.roth@amd.com>
Tue, 14 Dec 2021 21:04:59 +0000 (15:04 -0600)
commit7629818574eb67d2a9eb5db313c935bcf1d4e557
tree0f4fb2544e5bc2f2e96e8e1407e6661b13281db8
parent4658dfcbc09dcc90025604cce64d6fd01952b882
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>
(cherry picked from commit b154791e7b6d4ca5cdcd54443484d97360bd7ad2)
Signed-off-by: Michael Roth <michael.roth@amd.com>
hw/block/fdc.c