]> xenbits.xensource.com Git - qemu-xen-4.0-testing.git/commit
Extend max vcpu number for HVM guest
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 29 Oct 2009 13:00:31 +0000 (13:00 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 29 Oct 2009 13:00:31 +0000 (13:00 +0000)
commit3140780e451d3919ef2c81f91ae0ebe3f286eb06
treeed0b1457a3403b5f6650b8e6edbeccf45b7792da
parent9f40cf4225bc7b500eafb7fcc030d6bbbd82480d
Extend max vcpu number for HVM guest

Reduce size of Xen-qemu shared ioreq structure to 32 bytes. This has two
advantages:
 1. We can support up to 128 VCPUs with a single shared page
 2. If/when we want to go beyond 128 VCPUs, a whole number of ioreq_t
structures will pack into a single shared page, so a multi-page array will
have no ioreq_t straddling a page boundary

Also, while modifying qemu, replace a 32-entry vcpu-indexed array with a
dynamically-allocated array.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
i386-dm/helper2.c