All of lore.kernel.org
 help / color / mirror / Atom feed
* How does the Xen kernel change the vcpu number of a domain?
@ 2014-06-13  7:19 Bei Guan
  2014-06-13  8:59 ` Wei Liu
  0 siblings, 1 reply; 4+ messages in thread
From: Bei Guan @ 2014-06-13  7:19 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 662 bytes --]

Hi All,

I try to figure out that how the command "xl vcpu-set" works. I find out
that the command "xl vcpu-set" calls the method
libxl__set_vcpuonline_xenstore() to set the state of the vcpu in the
Xenstore path /local/domain_id/cpu/vcpu_id/availability. The value of the
key "availability" is set to "online" while the the vcpu number will
increase. When the key is set to "offline" the vcpu number will decrease.

What I want to know is how does the vcpu number increase/decrease according
to the vcpu state in the Xenstore?  How can I find the method that really
does the work?

Any reply is appreciated. Thank you all very much.

-- 
Best Regards,
Bei Guan

[-- Attachment #1.2: Type: text/html, Size: 855 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

end of thread, other threads:[~2014-06-16  9:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-13  7:19 How does the Xen kernel change the vcpu number of a domain? Bei Guan
2014-06-13  8:59 ` Wei Liu
2014-06-13 14:36   ` Bei Guan
2014-06-16  9:12     ` Wei Liu

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.