| To: | Keir Fraser <keir@xxxxxxxxxxxxx> |
|---|---|
| Subject: | [Xen-devel] [PATCH] Make save/restore of multiple VCPU contexts arch dependent |
| From: | Alex Williamson <alex.williamson@xxxxxx> |
| Date: | 2007年3月05日 10:45:47 -0700 |
| Cc: | xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Hollis Blanchard <hollisb@xxxxxxxxxx> |
| Delivery-date: | 2007年3月05日 09:44:58 -0800 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| Organization: | HP OSLO R&D |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
We need to look at how to support this on ia64, so how about making
this an architecture dependent feature for now? Not sure what powerpc
needs here, so I'm just lumping it into the old way bucket. Thanks,
Alex
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
diff -r 3ac19fda0bc2 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Fri Mar 02 12:11:52 2007 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py Mon Mar 05 10:30:22 2007 -0700
@@ -775,13 +775,18 @@ class XendDomainInfo:
t.write('vm', self.vmpath)
def _storeDomDetails(self):
+ if arch.type == "x86":
+ mp_suspend = 1
+ else:
+ mp_suspend = 0
+
to_store = {
'domid': str(self.domid),
'vm': self.vmpath,
'name': self.info['name_label'],
'console/limit': str(xoptions.get_console_limit() * 1024),
'memory/target': str(self.info['memory_static_min'] * 1024),
- 'control/platform-feature-multiprocessor-suspend': str(1)
+ 'control/platform-feature-multiprocessor-suspend': str(mp_suspend)
}
def f(n, v):
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: [Xen-devel] Vif rate limiting , Padala, Pradeep |
|---|---|
| Next by Date: | Re: [Xen-devel] Mkinitramfs wants minimum 2.6.19 kernel! , Cédric Schieli |
| Previous by Thread: | Re: [Xen-devel] [PATCH 8/8] 2.6.17: scan DMI early , Keir Fraser |
| Next by Thread: | [Xen-devel] Re: [PATCH] Make save/restore of multiple VCPU contexts arch dependent , Alex Williamson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |