qxl: lock current_async update in qxl_soft_reset
commit05fa1c742fd6f66978b989ded0dd981ef11c4a0c
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 20 Oct 2015 07:57:30 +0000 (20 09:57 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 1 Mar 2016 06:51:32 +0000 (1 07:51 +0100)
tree6dff18ef0dbaeefe4c446e4c9e25964ad9bde487
parentd2ba7ecb348d3b996fcd920cf1ca7b72722c1dfd
qxl: lock current_async update in qxl_soft_reset

This should fix a defect report from Coverity.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
hw/display/qxl.c