On Mon, Oct 22, 2012 at 6:40 PM, Avi Kivity <a...@redhat.com> wrote: > On 10/22/2012 11:23 AM, Liu Ping Fan wrote: >> The broken device state is caused by releasing local lock before acquiring >> big lock. To fix this issue, we have two choice: >> 1.use busy flag to protect the state >> The drawback is that we will introduce independent busy flag for each >> independent device's logic unit. >> 2.reload the device's state >> The drawback is if the call chain is too deep, the action to reload will >> touch each layer. Also the reloading means to recaculate the intermediate >> result based on device's regs. >> >> This patch adopt the solution 1 to fix the issue. > > Doesn't the nested mmio patch detect this? > It will only record and fix the issue on one thread. But guest can touch the emulated device on muti-threads. > > -- > error compiling committee.c: too many arguments to function >
- Re: [Qemu-devel] [patch v4 12/16] e1000: apply ... Jan Kiszka
- Re: [Qemu-devel] [patch v4 12/16] e1000: ap... Avi Kivity
- Re: [Qemu-devel] [patch v4 12/16] e100... Jan Kiszka
- Re: [Qemu-devel] [patch v4 12/16] ... Avi Kivity
- [Qemu-devel] [patch v4 11/16] vcpu: push mmio dispatcher out... Liu Ping Fan
- [Qemu-devel] [patch v4 06/16] memory: document ref, unref in... Liu Ping Fan
- [Qemu-devel] [patch v4 13/16] e1000: add busy flag to anti b... Liu Ping Fan
- Re: [Qemu-devel] [patch v4 13/16] e1000: add busy flag ... Avi Kivity
- Re: [Qemu-devel] [patch v4 13/16] e1000: add busy f... liu ping fan
- Re: [Qemu-devel] [patch v4 13/16] e1000: add bu... Avi Kivity
- Re: [Qemu-devel] [patch v4 13/16] e1000: add bu... Jan Kiszka
- Re: [Qemu-devel] [patch v4 13/16] e1000: ad... liu ping fan
- Re: [Qemu-devel] [patch v4 13/16] e100... Avi Kivity
- Re: [Qemu-devel] [patch v4 13/16] ... liu ping fan
- Re: [Qemu-devel] [patch v4 13/16] ... Avi Kivity
- Re: [Qemu-devel] [patch v4 13/16] ... Peter Maydell
- Re: [Qemu-devel] [patch v4 13/16] ... Avi Kivity
- Re: [Qemu-devel] [patch v4 13/16] ... liu ping fan
- Re: [Qemu-devel] [patch v4 13/16] ... liu ping fan