Re: [Qemu-devel] [PATCH 2/3] ahci: fix PxCI register race

2018-05-31 Thread John Snow
>From comments on the cover letter, I am adding: Fixes: https://bugs.launchpad.net/qemu/+bug/1769189 On 05/30/2018 08:43 PM, John Snow wrote: > AHCI presently signals completion prior to the PxCI register being > cleared to indicate completion. If a guest driver attempts to issue > a new command

[Qemu-devel] [PATCH 2/3] ahci: fix PxCI register race

2018-05-30 Thread John Snow
AHCI presently signals completion prior to the PxCI register being cleared to indicate completion. If a guest driver attempts to issue a new command in its IRQ handler, it might be surprised to learn there is still a command pending. In the case of Windows 10's boot driver, it will actually poll t