]> Git Repo - qemu.git/commit - hw/scsi/megasas.c
megasas: Rework frame queueing algorithm
authorHannes Reinecke <[email protected]>
Wed, 29 Oct 2014 12:00:15 +0000 (13:00 +0100)
committerPaolo Bonzini <[email protected]>
Fri, 31 Oct 2014 10:29:01 +0000 (11:29 +0100)
commit6df5718bd3ec56225c44cf96440c723c1b611b87
tree1aea529349773a4d24d6fb65c09e1f7897d11ce4
parentaaf2a859b6758ad9b3a6fa242b0453bd7d8b7615
megasas: Rework frame queueing algorithm

Windows requires the frames to be unmapped, otherwise we run
into a race condition where the updated frame data is not
visible to the guest.
With that we can simplify the queue algorithm and use a bitmap
for tracking free frames.

Signed-off-by: Hannes Reinecke <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/scsi/megasas.c
trace-events
This page took 0.025282 seconds and 4 git commands to generate.