public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* How to get to know vcpu status from outside
@ 2013-12-17  6:11 Arthur Chunqi Li
  2013-12-17 11:21 ` Paolo Bonzini
  0 siblings, 1 reply; 6+ messages in thread
From: Arthur Chunqi Li @ 2013-12-17  6:11 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: kvm

Hi Paolo,

Since VCPU is managed the same as a process in kernel, how can I know
the status (running, sleeping etc.) of a vcpu in kernel? Is there a
variant in struct kvm_vcpu or something else indicate this?

Besides, if vcpu1 is running on pcpu1, and a kernel thread running on
pcpu0. Can the kernel thread send a message to force vcpu1 trap to
VMM? How can I do this?

Thanks very much,
Arthur

-- 
Arthur Chunqi Li
Department of Computer Science
School of EECS
Peking University
Beijing, China

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-20 11:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox