[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Does. there exists race condition in virtio-gpu device
From: |
Li Qiang |
Subject: |
Does. there exists race condition in virtio-gpu device |
Date: |
Wed, 9 Sep 2020 20:49:25 +0800 |
Hello Gerd and Paolo,
I think there is a race condition in virtio-gpu device.
In 'virtio_gpu_reset' and 'virtio_gpu_process_cmdq' they both operate
on 'g->cmdq'.
However the 'virtio_gpu_reset' is in vcpu thread and the
'virtio_gpu_process_cmdq' is
in main thread through BH.
So I think there is a race condition. But I don't find a pattern for
this kind of bug(BH and vcpu thread). I missed anything?
Thanks,
Li Qiang
- Does. there exists race condition in virtio-gpu device,
Li Qiang <=