Re: qemu_coroutine_yield switches thread?

2020-04-16 Thread Kevin Wolf
Am 16.04.2020 um 12:09 hat Dietmar Maurer geschrieben: > > > quick question: Can a resume from a qemu_coroutine_yield happen in a > > > different thread? > > > > > > Well, it can, since I'm seeing it happen, but is that okay or a bug? > > > > Yes, it can happen. At least for devices like IDE

Re: qemu_coroutine_yield switches thread?

2020-04-16 Thread Dietmar Maurer
> > quick question: Can a resume from a qemu_coroutine_yield happen in a > > different thread? > > > > Well, it can, since I'm seeing it happen, but is that okay or a bug? > > Yes, it can happen. At least for devices like IDE where a request is > started during a vmexit (MMIO or I/O port write),

Re: qemu_coroutine_yield switches thread?

2020-04-16 Thread Kevin Wolf
Am 16.04.2020 um 10:06 hat Stefan Reiter geschrieben: > Hi list, > > quick question: Can a resume from a qemu_coroutine_yield happen in a > different thread? > > Well, it can, since I'm seeing it happen, but is that okay or a bug? Yes, it can happen. At least for devices like IDE where a

qemu_coroutine_yield switches thread?

2020-04-16 Thread Stefan Reiter
Hi list, quick question: Can a resume from a qemu_coroutine_yield happen in a different thread? Well, it can, since I'm seeing it happen, but is that okay or a bug? I.e. in a backup-job the following can sporadically trip: unsigned long tid = pthread_self();