All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: gnatapov@redhat.com, qemu-devel@nongnu.org, agraf@suse.de
Subject: Re: [Qemu-devel] [PATCH uq/master v3 1/2] kvm: reset state from the CPU's reset method
Date: Mon, 15 Apr 2013 14:20:03 +0200	[thread overview]
Message-ID: <516BF073.9060609@suse.de> (raw)
In-Reply-To: <1366027532-1120-2-git-send-email-pbonzini@redhat.com>

Am 15.04.2013 14:05, schrieb Paolo Bonzini:
> Now that we have a CPU object with a reset method, it is better to
> keep the KVM reset close to the CPU reset.  Using qemu_register_reset
> as we do now keeps them far apart.
> 
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> 	v2->v3: add stub kvm_arch_reset_vcpu for s390
> 
>  include/sysemu/kvm.h   |  2 --
>  kvm-all.c              | 11 -----------
>  target-arm/kvm.c       |  4 ----
>  target-i386/cpu.c      |  5 +++++
>  target-i386/kvm_i386.h |  1 +
>  target-ppc/kvm.c       |  4 ----
>  target-s390x/cpu.c     |  4 ++++
>  target-s390x/cpu.h     |  5 +++++
>  8 files changed, 15 insertions(+), 21 deletions(-)

Fine with me.

Have you tested whether i386 needs a similar stub on non-x86? If so then

Reviewed-by: Andreas Färber <afaerber@suse.de>

For anyone else wondering, arm and ppc are no longer calling the
kvm_arch_ function, so it can get removed there, while i386 and s390x
call it from X86CPU/S390CPU reset handler now. Would be more clear if
the commit message was more verbose ;) and would be nice to clean this
up as follow-up by renaming to kvm_x86_... and kvm_s390_... or so
respectively.

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

  reply	other threads:[~2013-04-15 12:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-15 12:05 [Qemu-devel] [PATCH uq/master v3 0/2] correctly reset the CPU on INIT interrupts Paolo Bonzini
2013-04-15 12:05 ` [Qemu-devel] [PATCH uq/master v3 1/2] kvm: reset state from the CPU's reset method Paolo Bonzini
2013-04-15 12:20   ` Andreas Färber [this message]
2013-04-15 12:55     ` Paolo Bonzini
2013-04-18  5:37   ` Gleb Natapov
2013-04-18  7:37     ` Paolo Bonzini
2013-04-15 12:05 ` [Qemu-devel] [PATCH uq/master v3 2/2] kvm: forward INIT signals coming from the chipset Paolo Bonzini
2013-04-18  7:54 ` [Qemu-devel] [PATCH uq/master v3 0/2] correctly reset the CPU on INIT interrupts Gleb Natapov

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=516BF073.9060609@suse.de \
    --to=afaerber@suse.de \
    --cc=agraf@suse.de \
    --cc=gnatapov@redhat.com \
    --cc=pbonzini@redhat.com \
    --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.