WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Make MAX_VIRT_CPUS arch-dep

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Make MAX_VIRT_CPUS arch-dep
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Thu, 16 Jun 2005 19:10:49 +0000
Delivery-date: Sun, 19 Jun 2005 18:04:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1709.1.14, 2005/06/16 13:10:49-06:00, djm@xxxxxxxxxxxxxxx

        Make MAX_VIRT_CPUS arch-dep



 arch-ia64.h   |    4 ++++
 arch-x86_32.h |    3 +++
 arch-x86_64.h |    3 +++
 xen.h         |    3 ---
 4 files changed, 10 insertions(+), 3 deletions(-)


diff -Nru a/xen/include/public/arch-ia64.h b/xen/include/public/arch-ia64.h
--- a/xen/include/public/arch-ia64.h    2005-06-19 14:05:24 -04:00
+++ b/xen/include/public/arch-ia64.h    2005-06-19 14:05:24 -04:00
@@ -14,6 +14,10 @@
 #define _MEMORY_PADDING(_X)
 #define MEMORY_PADDING 
 
+/* Maximum number of virtual CPUs in multi-processor guests. */
+/* WARNING: before changing this, check that shared_info fits on a page */
+#define MAX_VIRT_CPUS 1
+
 #ifndef __ASSEMBLY__
 
 /* NB. Both the following are 64 bits each. */
diff -Nru a/xen/include/public/arch-x86_32.h b/xen/include/public/arch-x86_32.h
--- a/xen/include/public/arch-x86_32.h  2005-06-19 14:05:24 -04:00
+++ b/xen/include/public/arch-x86_32.h  2005-06-19 14:05:24 -04:00
@@ -73,6 +73,9 @@
 #define machine_to_phys_mapping ((u32 *)HYPERVISOR_VIRT_START)
 #endif
 
+/* Maximum number of virtual CPUs in multi-processor guests. */
+#define MAX_VIRT_CPUS 32
+
 #ifndef __ASSEMBLY__
 
 /* NB. Both the following are 32 bits each. */
diff -Nru a/xen/include/public/arch-x86_64.h b/xen/include/public/arch-x86_64.h
--- a/xen/include/public/arch-x86_64.h  2005-06-19 14:05:24 -04:00
+++ b/xen/include/public/arch-x86_64.h  2005-06-19 14:05:24 -04:00
@@ -73,6 +73,9 @@
 #define HYPERVISOR_VIRT_END   (0xFFFF880000000000UL)
 #endif
 
+/* Maximum number of virtual CPUs in multi-processor guests. */
+#define MAX_VIRT_CPUS 32
+
 #ifndef __ASSEMBLY__
 
 /* The machine->physical mapping table starts at this address, read-only. */
diff -Nru a/xen/include/public/xen.h b/xen/include/public/xen.h
--- a/xen/include/public/xen.h  2005-06-19 14:05:24 -04:00
+++ b/xen/include/public/xen.h  2005-06-19 14:05:24 -04:00
@@ -287,9 +287,6 @@
 /* Event channel endpoints per domain. */
 #define NR_EVENT_CHANNELS 1024
 
-/* Support for multi-processor guests. */
-#define MAX_VIRT_CPUS 32
-
 /*
  * Per-VCPU information goes here. This will be cleaned up more when Xen 
  * actually supports multi-VCPU guests.

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Make MAX_VIRT_CPUS arch-dep, BitKeeper Bot <=