linux/arch/ia64
Xiantao Zhang a917f7af39 KVM: ia64: Re-organize data sturure of guests' data area
1. Increase the size of data area to 64M
2. Support more vcpus and memory, 128 vcpus and 256G memory are supported
   for guests.
3. Add the boundary check for memory and vcpu allocation.

With this patch, kvm guest's data area looks as follow:
  *
  *            +----------------------+  ------- KVM_VM_DATA_SIZE
  *            |     vcpu[n]'s data   |   |     ___________________KVM_STK_OFFSET
  *            |                      |   |    /                   |
  *            |        ..........    |   |   /vcpu's struct&stack |
  *            |        ..........    |   |  /---------------------|---- 0
  *            |     vcpu[5]'s data   |   | /       vpd            |
  *            |     vcpu[4]'s data   |   |/-----------------------|
  *            |     vcpu[3]'s data   |   /         vtlb           |
  *            |     vcpu[2]'s data   |  /|------------------------|
  *            |     vcpu[1]'s data   |/  |         vhpt           |
  *            |     vcpu[0]'s data   |____________________________|
  *            +----------------------+   |
  *            |    memory dirty log  |   |
  *            +----------------------+   |
  *            |    vm's data struct  |   |
  *            +----------------------+   |
  *            |                      |   |
  *            |                      |   |
  *            |                      |   |
  *            |                      |   |
  *            |                      |   |
  *            |                      |   |
  *            |                      |   |
  *            |   vm's p2m table  |      |
  *            |                      |   |
  *            |                      |   |
  *            |                      |   |  |
  * vm's data->|                      |   |  |
  *            +----------------------+ ------- 0
  * To support large memory, needs to increase the size of p2m.
  * To support more vcpus, needs to ensure it has enough space to
  * hold vcpus' data.
  */

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2008-12-31 16:51:49 +02:00
..
configs [IA64] Updated the generic_defconfig to work with the 2.6.28-rc7 kernel. 2008-12-09 10:07:48 -08:00
dig [IA64] Add Variable Page Size and IA64 Support in Intel IOMMU 2008-10-17 12:14:13 -07:00
hp simeth: convert to net_device_ops 2008-12-16 01:55:38 -08:00
ia32 CRED: Wrap current->cred and a few other accessors 2008-11-14 10:39:18 +11:00
include/asm KVM: ia64: Re-organize data sturure of guests' data area 2008-12-31 16:51:49 +02:00
kernel Merge branch 'next' into for-linus 2008-12-25 11:40:09 +11:00
kvm KVM: ia64: Re-organize data sturure of guests' data area 2008-12-31 16:51:49 +02:00
lib [IA64] Add Variable Page Size and IA64 Support in Intel IOMMU 2008-10-17 12:14:13 -07:00
mm [IA64] fix the difference between node_mem_map and node_start_pfn 2008-11-04 11:31:12 -08:00
oprofile
pci PCI: Add ability to mmap legacy_io on some platforms 2008-10-20 11:01:46 -07:00
scripts ia64/pv_ops: paravirtualized instruction checker. 2008-10-17 10:12:54 -07:00
sn [IA64] SN: prevent IRQ retargetting in request_irq() 2008-12-09 10:57:18 -08:00
uv [IA64] Simplify SGI uv vs. sn2 driver issues 2008-11-04 11:29:39 -08:00
xen [IA64] xen: fix xen_get_eflags. 2008-11-20 13:43:01 -08:00
install.sh
Kconfig Merge branch 'linus' into sched/core 2008-11-19 09:44:37 +01:00
Kconfig.debug
Makefile Pull vtd-iommu into release branch 2008-10-17 13:52:22 -07:00
module.lds