Re: [Qemu-devel] [PATCH repost] ahci: fix win7 hang on boot

2013-10-31 Thread Michael S. Tsirkin
On Thu, Oct 31, 2013 at 12:32:12PM +0100, Paolo Bonzini wrote: Il 28/10/2013 20:01, Michael S. Tsirkin ha scritto: From: Alexander Graf ag...@suse.de When AHCI executes an asynchronous IDE command, it checked DRDY without checking either DRQ or BSY. This sometimes caused interrupt to be

Re: [Qemu-devel] [PATCH repost] ahci: fix win7 hang on boot

2013-10-31 Thread Paolo Bonzini
Il 28/10/2013 20:01, Michael S. Tsirkin ha scritto: From: Alexander Graf ag...@suse.de When AHCI executes an asynchronous IDE command, it checked DRDY without checking either DRQ or BSY. This sometimes caused interrupt to be sent before command is actually completed. This resulted in a

Re: [Qemu-devel] [PATCH repost] ahci: fix win7 hang on boot

2013-10-29 Thread Kevin Wolf
Am 28.10.2013 um 20:01 hat Michael S. Tsirkin geschrieben: From: Alexander Graf ag...@suse.de When AHCI executes an asynchronous IDE command, it checked DRDY without checking either DRQ or BSY. This sometimes caused interrupt to be sent before command is actually completed. This resulted

[Qemu-devel] [PATCH repost] ahci: fix win7 hang on boot

2013-10-28 Thread Michael S. Tsirkin
From: Alexander Graf ag...@suse.de When AHCI executes an asynchronous IDE command, it checked DRDY without checking either DRQ or BSY. This sometimes caused interrupt to be sent before command is actually completed. This resulted in a race condition: if guest then managed to access the device