From: Dulloor <dulloor@gmail.com>
To: xen-devel@lists.xensource.com
Subject: [vNUMA v2][PATCH 8/8] Disable Migration when numa_strategy is set/applied
Date: Sun, 1 Aug 2010 15:06:27 -0700 [thread overview]
Message-ID: <AANLkTi=H6Wc8pUX1uktBZf2s1gyu_j+E1Pg-kSBFHyv4@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 166 bytes --]
We don’t preserve the NUMA properties of the VM across the migration.
We just disable migration for now.
-dulloor
Signed-off-by : Dulloor <dulloor@gmail.com>
[-- Attachment #2: xen-08-disable-migration.patch --]
[-- Type: text/x-patch, Size: 379 bytes --]
vNUMA : Disable Migration for NUMA HVMs
diff --git a/tools/libxc/xc_hvm_build.c b/tools/libxc/xc_hvm_build.c
--- a/tools/libxc/xc_hvm_build.c
+++ b/tools/libxc/xc_hvm_build.c
@@ -404,6 +404,8 @@
setup_done:
if (!rc)
rc = xc_domain_numa_pinvcpus(xch, dom_layout);
+ if (!rc)
+ rc = xc_domain_disable_migrate(xch, dom_layout->domid);
return rc;
}
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2010-08-01 22:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-01 22:06 Dulloor [this message]
2010-08-03 16:16 ` [vNUMA v2][PATCH 8/8] Disable Migration when numa_strategy is set/applied Stefano Stabellini
2010-08-03 17:26 ` Dulloor
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='AANLkTi=H6Wc8pUX1uktBZf2s1gyu_j+E1Pg-kSBFHyv4@mail.gmail.com' \
--to=dulloor@gmail.com \
--cc=xen-devel@lists.xensource.com \
/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;
as well as URLs for NNTP newsgroup(s).