[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/11]
From: |
Gleb Natapov |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/11] |
Date: |
Wed, 2 Dec 2009 12:59:27 +0200 |
On Tue, Dec 01, 2009 at 10:51:26AM -0200, Glauber Costa wrote:
> This is a repost of the -smp series. Note that it depends on
> irqchip-in-kernel,
> that is already in staging. Also, you'll have to enable the io-thread, for
> the time
> being.
>
> >From the last version, main change is that I am not calling queue_work
> >automatically
> from vcpu ioctls. queue_work is only used currently for the gdb stub.
>
> All other uses were by-passed by the new qemu_register_vcpu_reset(), since
> most
> of it uses (all racy) came from the reset handlers.
>
Looks good to me except one thing. I don't see how you are addressing
the problem fixed by commit b8a7857071b477b28d3055e33ff0298fc91f329a
in qemu-kvm. The problem is that mp_state can change in kernel between
call to kvm_cpu_synchronize_state() and vcpu re-entry. In this case old
mp_state will overwrite new one.
--
Gleb.
- [Qemu-devel] [PATCH v2 11/11] remove smp restriction from kvm, (continued)
- [Qemu-devel] [PATCH v2 11/11] remove smp restriction from kvm, Glauber Costa, 2009/12/01
- Re: [Qemu-devel] [PATCH v2 05/11] tell kernel about all registers instead of just mp_state, Gleb Natapov, 2009/12/02
- Re: [Qemu-devel] [PATCH v2 05/11] tell kernel about all registers instead of just mp_state, Glauber Costa, 2009/12/02
- [Qemu-devel] Re: [PATCH v2 05/11] tell kernel about all registers instead of just mp_state, Jan Kiszka, 2009/12/02
- [Qemu-devel] Re: [PATCH v2 05/11] tell kernel about all registers instead of just mp_state, Gleb Natapov, 2009/12/02
- [Qemu-devel] Re: [PATCH v2 05/11] tell kernel about all registers instead of just mp_state, Jan Kiszka, 2009/12/02
- Re: [Qemu-devel] [PATCH v2 04/11] qemu_flush_work for remote vcpu execution, Marcelo Tosatti, 2009/12/02
- Re: [Qemu-devel] [PATCH v2 04/11] qemu_flush_work for remote vcpu execution, Glauber Costa, 2009/12/02
- Re: [Qemu-devel] [PATCH v2 04/11] qemu_flush_work for remote vcpu execution, Marcelo Tosatti, 2009/12/02
- Re: [Qemu-devel] [PATCH v2 04/11] qemu_flush_work for remote vcpu execution, Glauber Costa, 2009/12/02
Re: [Qemu-devel] [PATCH v2 0/11],
Gleb Natapov <=
- Re: [Qemu-devel] [PATCH v2 0/11], Glauber Costa, 2009/12/02
- [Qemu-devel] Re: [PATCH v2 0/11], Jan Kiszka, 2009/12/02
- [Qemu-devel] Re: [PATCH v2 0/11], Gleb Natapov, 2009/12/02
- [Qemu-devel] Re: [PATCH v2 0/11], Jan Kiszka, 2009/12/02
- [Qemu-devel] Re: [PATCH v2 0/11], Gleb Natapov, 2009/12/02
- [Qemu-devel] Re: [PATCH v2 0/11], Jan Kiszka, 2009/12/02
- [Qemu-devel] Re: [PATCH v2 0/11], Gleb Natapov, 2009/12/02
[Qemu-devel] Re: [PATCH v2 0/11], Gleb Natapov, 2009/12/03