]> xenbits.xensource.com Git - qemu-xen-4.1-testing.git/commit
Fix vcpu hotplug bug: get correct vcpu_avail bitmap
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 18 Mar 2010 16:45:51 +0000 (16:45 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 18 Mar 2010 16:45:51 +0000 (16:45 +0000)
commitc95358206acd768f06b4fb6c645033094d106775
tree4a0f0e243709850683988b7f4110f7d16294fdad
parent4ee8bdd513b4d7af0e14434f4c53887779a33eda
Fix vcpu hotplug bug: get correct vcpu_avail bitmap

Currently qemu has a bug: When maxvcpus > 64, qemu will get wrong
vcpu bitmap (s->cpus_sts[i]) since it only get bitmap from a long variable.

This patch, cooperate with another xend python patch, is to fix this bug.
This patch get hex string from xend, transfer it to correct vcpu_avail bitmap
which saved at an uint32_t array.

Signed-off-By: Liu, Jinsong <jinsong.liu@intel.com>
(This is [PATCH 2/2], the other half is in xen-unstable.hg)
hw/piix4acpi.c
i386-dm/helper2.c
vl.c
xen-config-host.h