ide: Factor ide_flush_cache out
commit6bcb1a79a31563f2c414e1bd35d044d6ab385011
authorKevin Wolf <kwolf@redhat.com>
Mon, 18 Oct 2010 15:10:49 +0000 (18 17:10 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 22 Oct 2010 12:49:35 +0000 (22 14:49 +0200)
tree1540426b41155bb83e16c44d0c01e12d47abb79e
parenta18953fbe72ba553a564ba11fdda03aac41d4f38
ide: Factor ide_flush_cache out

The next patch reuses this code, so put it in its own function.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c