qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH 12/26] cpus: push BQL lock to qemu_*_wait_io


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH 12/26] cpus: push BQL lock to qemu_*_wait_io_event
Date: Thu, 2 Nov 2017 12:26:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 31/10/2017 12:26, Pavel Dovgalyuk wrote:
>          hax_vcpu_interrupt(env);
>  
> -        qemu_mutex_unlock_iothread();
>          cpu_exec_start(cpu);
>          hax_ret = hax_vcpu_run(vcpu);
> +        current_cpu = cpu;

This assignment makes little sense, this is a thread-local variable and
should always be equal to cpu.  Rebase conflict?

Paolo

>          cpu_exec_end(cpu);
> -        qemu_mutex_lock_iothread();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]