]> Git Repo - qemu.git/commit - hw/block/fdc.c
fdc: add pick_drive
authorJohn Snow <[email protected]>
Fri, 22 Jan 2016 20:50:59 +0000 (15:50 -0500)
committerJohn Snow <[email protected]>
Mon, 25 Jan 2016 19:35:23 +0000 (14:35 -0500)
commitd5d47efc856c139ec0cd1887e2d018ff9a93c32d
treef772d9d2cba24046f0bd08e1501c4b257ee3346d
parent69ce1ac26dcdd2073d4b4dc0eb52787eb9fca628
fdc: add pick_drive

Split apart pick_geometry by creating a pick_drive routine that will only
ever called during device bring-up instead of relying on pick_geometry to
be used in both cases.

With this change, the drive field is changed to be 'write once'. It is
not altered after the initialization routines exit.

media_validated does not need to be migrated. The target VM
will just revalidate the media on post_load anyway.

Reviewed-by: Eric Blake <[email protected]>
Signed-off-by: John Snow <[email protected]>
Message-id: 1453495865[email protected]
hw/block/fdc.c
This page took 0.025115 seconds and 4 git commands to generate.