From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: How to get to know vcpu status from outside Date: Fri, 20 Dec 2013 12:57:58 +0100 Message-ID: <52B430C6.6070607@redhat.com> References: <52B033BB.6070401@redhat.com> <52B04370.1070208@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: kvm To: Arthur Chunqi Li Return-path: Received: from mail-ea0-f178.google.com ([209.85.215.178]:63254 "EHLO mail-ea0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932382Ab3LTL6D (ORCPT ); Fri, 20 Dec 2013 06:58:03 -0500 Received: by mail-ea0-f178.google.com with SMTP id d10so995796eaj.37 for ; Fri, 20 Dec 2013 03:58:01 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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