xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: Specify VCPU hotplug procedure for HVMlite guests
@ 2016-02-03 16:11 Boris Ostrovsky
  2016-02-03 16:20 ` Wei Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Boris Ostrovsky @ 2016-02-03 16:11 UTC (permalink / raw)
  To: ian.campbell, ian.jackson, jbeulich, keir, tim
  Cc: Boris Ostrovsky, roger.pau, wei.liu2, xen-devel

HVMlite VCPUs can be added and removed by toggling 'availability'
value of VCPU's xenstore entry.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
---

I am not sure this is really needed since it's no different from how we
do hotplug for PV or HVM/qemu-trad guests.

I may have been a bit too grandiose by describing yesterday's patch as
"add CPU hotplug support". It was really enabling existing functionality.

 docs/misc/hvmlite.markdown | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/misc/hvmlite.markdown b/docs/misc/hvmlite.markdown
index c1b75c6..1a2e866 100644
--- a/docs/misc/hvmlite.markdown
+++ b/docs/misc/hvmlite.markdown
@@ -80,3 +80,8 @@ are used in order to bring up secondary vCPUs:
  * `VCPUOP_down` is used to bring down a vCPU.
 
  * `VCPUOP_is_up` is used to scan the number of available vCPUs.
+
+## VCPU hotplug ##
+
+VCPUs can be hot-plugged or hot-removed by writing "online" or "offline" to
+xenstore's /local/domain/<domain_id>/cpu/<vcpu_id>/availability entry
-- 
2.1.0

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

end of thread, other threads:[~2016-02-03 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-03 16:11 [PATCH] docs: Specify VCPU hotplug procedure for HVMlite guests Boris Ostrovsky
2016-02-03 16:20 ` Wei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).