]> git.proxmox.com Git - qemu.git/commit - hw/ide/core.c
IDE SEEK_STAT flag
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 11 Aug 2008 18:52:14 +0000 (18:52 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 11 Aug 2008 18:52:14 +0000 (18:52 +0000)
commit41a2b9596c9ed2a827e16e749632752dd2686647
tree90cc85bb8133638414f58d45cb78d7114b92fc09
parent81174dae3f9189519cd60c7b79e91c291b021bbe
IDE SEEK_STAT flag

Add SEEK_STAT in all non-error cases except sleep request, since our
seek times are virtually 0.  Although this flag is deprecated by newer
ATA standards, Linux at least checks it for CD drives, and would timeout
in some case if we do not set it.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4994 c046a42c-6fe2-441c-8c8c-71466251a162
hw/ide.c