CA-57168: Set limit of 1 vCPU for Ubuntu 10.04 in recommendations field
CA-57168: Set limit of 1 vCPU for Ubuntu 10.04 in recommendations field

This is because of the
"kernel BUG at /build/buildd/linux-2.6.32/arch/x86/xen/spinlock.c:343!"
crash (which is most easily triggered by suspend/resume).

This bug can be fixed by updating the kernel (*), after which it will
still be possible to increase the number of vCPUs via the command line
since xe ignores the recommendations field.

(*) The Ubuntu 10.04 guest kernel can be updated to a natty backport
which does not have the issue like this:

  apt-get install python-software-properties # this installs add-apt-repository
  add-apt-repository ppa:kernel-ppa/ppa
  apt-get update
  apt-get install linux-headers-generic-pae-lts-backport-natty linux-image-generic-pae-lts-backport-natty # this installs 2.6.38.8.18
  echo xen_blkfront >> /etc/initramfs-tools/modules
  update-initramfs -c -k all # make sure xenblk module insmodded by initrd
  reboot

Signed-off-by: Alex Zeffertt <c17d99cd726ca910f8a9b30d177bb04074ebef1c@eu.citrix.com>

vasilenkomike/xen-api,guard163/xen-api,jjd27/xen-api,rafalmiel/xen-api,djs55/xen-api,euanh/xen-api,jjd27/xen-api,agimofcarmen/xen-api,thomassa/xen-api,jjd27/xen-api,jjd27/xen-api,salvocambria/xen-api,anoobs/xen-api,euanh/xen-api,cheng--zhang/xen-api,simonjbeaumont/xen-api,salvocambria/xen-api,guard163/xen-api,cheng-z/xen-api,koushikcgit/xen-api,huizh/xen-api,guard163/xen-api,cheng--zhang/xen-api,guard163/xen-api,rafalmiel/xen-api,ravippandey/xen-api,Frezzle/xen-api,agimofcarmen/xen-api,thomassa/xen-api,srowe/xen-api,salvocambria/xen-api,vasilenkomike/xen-api,cheng--zhang/xen-api,agimofcarmen/xen-api,Frezzle/xen-api,huizh/xen-api,vasilenkomike/xen-api,guard163/xen-api,vasilenkomike/xen-api,djs55/xen-api,huizh/xen-api,cheng-z/xen-api,rafalmiel/xen-api,robertbreker/xen-api,cheng--zhang/xen-api,huizh/xen-api,cheng-z/xen-api,agimofcarmen/xen-api,rafalmiel/xen-api,ravippandey/xen-api,guard163/xen-api,koushikcgit/xen-api,anoobs/xen-api,Frezzle/xen-api,simonjbeaumont/xen-api,rafalmiel/xen-api,koushikcgit/xen-api,anoobs/xen-api,djs55/xen-api,Frezzle/xen-api,thomassa/xen-api,cheng-z/xen-api,thomassa/xen-api,anoobs/xen-api,cheng-z/xen-api,koushikcgit/xen-api,euanh/xen-api,ravippandey/xen-api,Frezzle/xen-api,euanh/xen-api,cheng-z/xen-api,robertbreker/xen-api,ravippandey/xen-api,robertbreker/xen-api,ravippandey/xen-api,euanh/xen-api,simonjbeaumont/xen-api,thomassa/xen-api,vasilenkomike/xen-api,huizh/xen-api,koushikcgit/xen-api,simonjbeaumont/xen-api,robertbreker/xen-api,anoobs/xen-api,robertbreker/xen-api,salvocambria/xen-api,euanh/xen-api,vasilenkomike/xen-api,cheng-z/xen-api,djs55/xen-api,agimofcarmen/xen-api,srowe/xen-api,jjd27/xen-api,simonjbeaumont/xen-api,srowe/xen-api,salvocambria/xen-api,koushikcgit/xen-api,ravippandey/xen-api,rafalmiel/xen-api,jjd27/xen-api,robertbreker/xen-api,huizh/xen-api,cheng--zhang/xen-api,cheng--zhang/xen-api,srowe/xen-api,srowe/xen-api,anoobs/xen-api,thomassa/xen-api,agimofcarmen/xen-api,cheng--zhang/xen-api,salvocambria/xen-api,djs55/xen-api,djs55/xen-api,simonjbeaumont/xen-api