qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 1/2] kvm: Rework VCPU synchronization


From: Anthony Liguori
Subject: [Qemu-devel] Re: [PATCH 1/2] kvm: Rework VCPU synchronization
Date: Thu, 28 May 2009 02:37:13 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090409)

Jan Kiszka wrote:
> During startup and after reset we have to synchronize user space to the
> in-kernel KVM state. Namely, we need to transfer the VCPU registers when
> they change due to VCPU as well as APIC reset.
>
> This patch refactors the required hooks so that kvm_init_vcpu registers
> its own per-VCPU reset handler and adds a cpu_synchronize_state to the
> APIC reset. That way we no longer depend on the new reset order (and can
> drop this disliked interface again) and we can even drop a KVM hook in
> main().
>
> Signed-off-by: Jan Kiszka <address@hidden>
>   

> diff --git a/kvm-all.c b/kvm-all.c
> index c89e3b1..1364982 100644
> --- a/kvm-all.c
> +++ b/kvm-all.c
> @@ -143,6 +143,15 @@ static int kvm_set_user_memory_region(KVMState *s,
> KVMSlot *slot)
>   

This patch (this line, in particular) is whitespace damaged.

Regards,

Anthony Liguori




reply via email to

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