All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: [PATCH 1/2] kvm: Rework VCPU synchronization
Date: Thu, 28 May 2009 02:37:13 -0500	[thread overview]
Message-ID: <4A1E3F29.6070009@codemonkey.ws> (raw)
In-Reply-To: <4A184C2D.7060205@web.de>

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 <jan.kiszka@siemens.com>
>   

> 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

  parent reply	other threads:[~2009-05-28  7:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-23 19:19 [Qemu-devel] [PATCH 1/2] kvm: Rework VCPU synchronization Jan Kiszka
2009-05-23 19:20 ` [Qemu-devel] [PATCH 2/2] Revert "Introduce reset notifier order" Jan Kiszka
2009-05-28  7:37 ` Anthony Liguori [this message]
2009-05-28  7:46   ` [Qemu-devel] Re: [PATCH 1/2] kvm: Rework VCPU synchronization Jan Kiszka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A1E3F29.6070009@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=jan.kiszka@web.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.