ia64/xen-unstable

changeset 3045:20e04a8f1f86

bitkeeper revision 1.1159.1.435 (419cdeb3cXJd9VFQG3qEgk4aMdlboA)

Increase number of cpus limits.
author cl349@arcadians.cl.cam.ac.uk
date Thu Nov 18 17:41:07 2004 +0000 (2004-11-18)
parents 1f69171df585
children f32a9a67a8c0
files tools/libxc/xc_linux_build.c xen/include/public/xen.h
line diff
     1.1 --- a/tools/libxc/xc_linux_build.c	Thu Nov 18 15:02:57 2004 +0000
     1.2 +++ b/tools/libxc/xc_linux_build.c	Thu Nov 18 17:41:07 2004 +0000
     1.3 @@ -335,7 +335,7 @@ static int setup_guestos(int xc_handle,
     1.4      /* Mask all upcalls... */
     1.5      for ( i = 0; i < MAX_VIRT_CPUS; i++ )
     1.6          shared_info->vcpu_data[i].evtchn_upcall_mask = 1;
     1.7 -    shared_info->n_vcpu = 2;
     1.8 +    shared_info->n_vcpu = 8;
     1.9      munmap(shared_info, PAGE_SIZE);
    1.10  
    1.11      /* Send the page update requests down to the hypervisor. */
     2.1 --- a/xen/include/public/xen.h	Thu Nov 18 15:02:57 2004 +0000
     2.2 +++ b/xen/include/public/xen.h	Thu Nov 18 17:41:07 2004 +0000
     2.3 @@ -251,8 +251,8 @@ typedef struct
     2.4  /* Event channel endpoints per domain. */
     2.5  #define NR_EVENT_CHANNELS 1024
     2.6  
     2.7 -/* No support for multi-processor guests. */
     2.8 -#define MAX_VIRT_CPUS 4
     2.9 +/* Support for multi-processor guests. */
    2.10 +#define MAX_VIRT_CPUS 32
    2.11  
    2.12  /*
    2.13   * Per-VCPU information goes here. This will be cleaned up more when Xen