public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Arthur Chunqi Li <yzt356@gmail.com>
Cc: kvm <kvm@vger.kernel.org>
Subject: Re: How to get to know vcpu status from outside
Date: Fri, 20 Dec 2013 12:57:58 +0100	[thread overview]
Message-ID: <52B430C6.6070607@redhat.com> (raw)
In-Reply-To: <CABpY8MJOtJOrru9ZeV4G_O3=o=0OS_LyLzwgT3WUjMji=FhOJA@mail.gmail.com>

Il 20/12/2013 09:05, Arthur Chunqi Li ha scritto:
> I failed to kvm_vcpu_kick inactive vcpus at the beginning of the boot
> time (from power up to grub) of a VM. I think this may because other
> vcpus are not activated by SMP system at boot time, right? How can I
> distinguish vcpus in such status?

Their vcpu->arch.mp_state is KVM_MP_STATE_UNINITIALIZED.

Paolo

      reply	other threads:[~2013-12-20 11:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-17  6:11 How to get to know vcpu status from outside Arthur Chunqi Li
2013-12-17 11:21 ` Paolo Bonzini
2013-12-17 11:43   ` Arthur Chunqi Li
2013-12-17 12:28     ` Paolo Bonzini
2013-12-20  8:05       ` Arthur Chunqi Li
2013-12-20 11:57         ` Paolo Bonzini [this message]

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=52B430C6.6070607@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=yzt356@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox