1. 04 Nov, 2009 1 commit
  2. 08 Apr, 2009 1 commit
    • Ian Campbell's avatar
      xen: honour VCPU availability on boot · d745562c
      Ian Campbell authored
      
      
      If a VM is booted with offline VCPUs then unplug them during boot. Determining
      the availability of a VCPU requires access to XenStore which is not available
      at the point smp_prepare_cpus() is called, therefore we bring up all VCPUS
      initially and unplug the offline ones as soon as XenStore becomes available.
      Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
      d745562c
  3. 02 Apr, 2009 1 commit
    • Ian Campbell's avatar
      xen: honour VCPU availability on boot · 53152f95
      Ian Campbell authored
      
      
      If a VM is booted with offline VCPUs then unplug them during boot. Determining
      the availability of a VCPU requires access to XenStore which is not available
      at the point smp_prepare_cpus() is called, therefore we bring up all VCPUS
      initially and unplug the offline ones as soon as XenStore becomes available.
      Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
      53152f95
  4. 13 Mar, 2009 1 commit
  5. 23 Oct, 2008 1 commit
  6. 22 Oct, 2008 1 commit
    • Isaku Yamahata's avatar
      xen: compilation fix fo xen CPU hotplugging · a5af4eb1
      Isaku Yamahata authored
      
      
      This patch fixes compilation error on ia64.
      include asm/xen/hypervisor.h instead of asm-x86/xen/hypervisor.h
      use xen_pv_domain() instead of is_running_on_xen()
      
      >   CC      drivers/xen/cpu_hotplug.o
      > In file included from /linux-2.6/drivers/xen/cpu_hotplug.c:5:
      > /linux-2.6/include/asm-x86/xen/hypervisor.h:44:22: error: asm/desc.h: No such file or directory
      > /linux-2.6/include/asm-x86/xen/hypervisor.h:66:1: warning: "MULTI_UVMFLAGS_INDEX" redefined
      > In file included from /linux-2.6/include/asm-x86/xen/hypervisor.h:52,
      >                  from /linux-2.6/drivers/xen/cpu_hotplug.c:5:
      > /linux-2.6/arch/ia64/include/asm/xen/hypercall.h:233:1: warning: this is the location of the previous definition
      > /linux-2.6/drivers/xen/cpu_hotplug.c: In function 'setup_vcpu_hotplug_event':
      > /linux-2.6/drivers/xen/cpu_hotplug.c:81: error: implicit declaration of function 'is_running_on_xen'
      > make[4]: *** [drivers/xen/cpu_hotplug.o] Error 1
      > make[4]: *** Waiting for unfinished jobs....
      Signed-off-by: default avatarIsaku Yamahata <yamahata@valinux.co.jp>
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Isaku Yamahata <yamahata@valinux.co.jp>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      a5af4eb1
  7. 05 Sep, 2008 1 commit
  8. 25 Aug, 2008 1 commit
    • Alex Nixon's avatar
      xen: implement CPU hotplugging · d68d82af
      Alex Nixon authored
      
      
      Note the changes from 2.6.18-xen CPU hotplugging:
      
      A vcpu_down request from the remote admin via Xenbus both hotunplugs the
      CPU, and disables it by removing it from the cpu_present map, and removing
      its entry in /sys.
      
      A vcpu_up request from the remote admin only re-enables the CPU, and does
      not immediately bring the CPU up. A udev event is emitted, which can be
      caught by the user if he wishes to automatically re-up CPUs when available,
      or implement a more complex policy.
      Signed-off-by: default avatarAlex Nixon <alex.nixon@citrix.com>
      Acked-by: default avatarJeremy Fitzhardinge <jeremy@goop.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      d68d82af