All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4] Fix xl vcpu-set to decrease an guest vCPU amoutn without complaints.
@ 2015-03-30 15:26 Konrad Rzeszutek Wilk
  2015-03-30 15:26 ` [PATCH v4 1/7] libxl: Add ERROR_DOMAIN_NOTFOUND for libxl_domain_info when it cannot find the domain Konrad Rzeszutek Wilk
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Konrad Rzeszutek Wilk @ 2015-03-30 15:26 UTC (permalink / raw)
  To: ian.campbell, ian.jackson, xen-devel, wei.liu2

Hey Ian and Ian,

Since v3 [http://lists.xen.org/archives/html/xen-devel/2015-03/msg02822.html]
- Constify the libxl_dominfo and handle libxl_domain_info errors.
- Made libxl_domain_info use logging if domain is gone.
- Drop libxl: Add to libxl__domain_type a new return value (LIBXL_DOMAIN_TYPE_NOTFOUND)

In v2 [http://lists.xen.org/archives/html/xen-devel/2015-03/msg01787.html]:
 - Fixed up #1 "libxl: Add ERROR_DOMAIN_NOTFOUND for libxl_domain_info" per your review.
 - Moved the check from vcpuset to libxl_set_vcpuonline to check if the set bits of the
   cpumap is greater than the maximum vCPU that the guest can have (and added printks).
 - Added LIBXL_DOMAIN_TYPE_NOTFOUND so that libxl_set_vcpuonline can report that the
   domain id is for an non-existent guest.
 - Added an #define in libxl.h to expose the new _NOTFOUND error value.

 git://xenbits.xen.org/people/konradwilk/xen.git vcpuset.v4

In short, these two patches were modified since v3 posting:

 [PATCH v4 2/7] libxl: In libxl_set_vcpuonline check for maximum
 [PATCH v4 7/7] libxl/vcpu-set - allow to decrease vcpu count on

while the rest is the same.

Thank you for taking the time to review these patches!

 tools/libxl/libxl.c         | 73 ++++++++++++++++++++++++++++-----------------
 tools/libxl/libxl.h         |  9 +++++-
 tools/libxl/libxl_types.idl |  1 +
 tools/libxl/xl_cmdimpl.c    | 47 ++++++++++++++++++-----------
 4 files changed, 84 insertions(+), 46 deletions(-)

Konrad Rzeszutek Wilk (7):
      libxl: Add ERROR_DOMAIN_NOTFOUND for libxl_domain_info when it cannot find the domain
      libxl: In libxl_set_vcpuonline check for maximum number of VCPUs against the cpumap.
      libxl/libxl_domain_info: Log if domain not found.
      libxl/vcpuset: Print error if libxl_set_vcpuonline returns ERROR_DOMAIN_NOTFOUND
      libxl/vcpuset: Return error value if failed.
      libxl/vcpuset: Remove useless limit on max_vcpus.
      libxl/vcpuset - allow to decrease vcpu count on overcommitted guests (v5)

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

end of thread, other threads:[~2015-04-14 15:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-30 15:26 [PATCH v4] Fix xl vcpu-set to decrease an guest vCPU amoutn without complaints Konrad Rzeszutek Wilk
2015-03-30 15:26 ` [PATCH v4 1/7] libxl: Add ERROR_DOMAIN_NOTFOUND for libxl_domain_info when it cannot find the domain Konrad Rzeszutek Wilk
2015-03-30 15:26 ` [PATCH v4 2/7] libxl: In libxl_set_vcpuonline check for maximum number of VCPUs against the cpumap Konrad Rzeszutek Wilk
2015-03-31 15:57   ` Ian Campbell
2015-04-03 15:45     ` Konrad Rzeszutek Wilk
2015-04-14 15:11       ` Ian Campbell
2015-03-30 15:26 ` [PATCH v4 3/7] libxl/libxl_domain_info: Log if domain not found Konrad Rzeszutek Wilk
2015-03-31 15:58   ` Ian Campbell
2015-03-30 15:26 ` [PATCH v4 4/7] libxl/vcpuset: Print error if libxl_set_vcpuonline returns ERROR_DOMAIN_NOTFOUND Konrad Rzeszutek Wilk
2015-03-30 15:26 ` [PATCH v4 5/7] libxl/vcpuset: Return error value if failed Konrad Rzeszutek Wilk
2015-03-30 15:26 ` [PATCH v4 6/7] libxl/vcpuset: Remove useless limit on max_vcpus Konrad Rzeszutek Wilk
2015-03-30 15:26 ` [PATCH v4 7/7] libxl/vcpu-set - allow to decrease vcpu count on overcommitted guests (v5) Konrad Rzeszutek Wilk
2015-03-31 15:59   ` Ian Campbell

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.