public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: konrad@kernel.org
To: xen-devel@lists.xenproject.org, david.vrabel@Citrix.com,
	boris.ostrovsky@oracle.com, linux-kernel@vger.kernel.org,
	keir@xen.org, jbeulich@suse.com
Subject: [PATCH] Fixes for more than 32 VCPUs migration for HVM guests (v1).
Date: Tue,  8 Apr 2014 13:25:48 -0400	[thread overview]
Message-ID: <1396977950-8789-1-git-send-email-konrad@kernel.org> (raw)
In-Reply-To: <1396859560.22845.4.camel@kazak.uk.xensource.com>

These two patches (one for Linux, one for Xen) allow PVHVM guests to use
the per-cpu VCPU mechanism after migration. Currently when an PVHVM guest
migrates all the per-cpu information is lost and we fallback on the
shared_info structure. This is regardless if the HVM guest has 2 or 128 CPUs.
Since the structure has an array for only 32 CPUs that means if we are
to migrate a PVHVM guest - we can only do it up to 32 CPUs.

These patches fix it and allow more than 32 VCPUs to be migrated with
PVHVM Linux guests.

The Linux diff is:

 arch/x86/xen/enlighten.c |   21 ++++++++++++++++-----
 arch/x86/xen/suspend.c   |    6 +-----
 arch/x86/xen/time.c      |    3 +++
 3 files changed, 20 insertions(+), 10 deletions(-)

while the Xen one is:

 xen/arch/x86/hvm/hvm.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


       reply	other threads:[~2014-04-08 17:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1396859560.22845.4.camel@kazak.uk.xensource.com>
2014-04-08 17:25 ` konrad [this message]
2014-04-08 17:25   ` [XEN PATCH 1/2] hvm: Support more than 32 VCPUS when migrating konrad
2014-04-08 18:18     ` [Xen-devel] " Roger Pau Monné
2014-04-08 18:53       ` Konrad Rzeszutek Wilk
2014-04-09  7:37         ` Roger Pau Monné
2014-04-09 15:34           ` Konrad Rzeszutek Wilk
2014-04-09 15:38             ` David Vrabel
2014-04-09 15:55               ` Konrad Rzeszutek Wilk
2014-04-09  8:33         ` Ian Campbell
2014-04-09  9:04           ` Roger Pau Monné
2014-04-09  9:06     ` Jan Beulich
2014-04-09 15:27       ` Konrad Rzeszutek Wilk
2014-04-09 15:36         ` Jan Beulich
2014-04-22 18:34           ` Konrad Rzeszutek Wilk
2014-04-23  8:57             ` Jan Beulich
2014-04-08 17:25   ` [LINUX PATCH 2/2] xen/pvhvm: Support more than 32 VCPUs " konrad
2014-04-09  8:03     ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1396977950-8789-1-git-send-email-konrad@kernel.org \
    --to=konrad@kernel.org \
    --cc=boris.ostrovsky@oracle.com \
    --cc=david.vrabel@Citrix.com \
    --cc=jbeulich@suse.com \
    --cc=keir@xen.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox