WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 1] Fix vcpu hotplug bug: transfer vcpu_avail hex stri

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 1] Fix vcpu hotplug bug: transfer vcpu_avail hex string to qemu
From: "Liu, Jinsong" <jinsong.liu@xxxxxxxxx>
Date: Thu, 18 Mar 2010 23:33:38 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 18 Mar 2010 08:36:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrGsGG0bX7JtHmsQ3+8RgCmmIDg3w==
Thread-topic: [PATCH 1] Fix vcpu hotplug bug: transfer vcpu_avail hex string to qemu
Fix vcpu hotplug bug: transfer vcpu_avail hex string to qemu 

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 qemu patch, is to fix this bug.
This patch transfer a vcpu_avail string in a hex string format, so that 
at qemu side it's more easier to get vcpu bitmap from hex string, especially 
when many vcpus, like more than 64.

Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx>

Attachment: python_vcpuhotplug_fixbug.patch
Description: python_vcpuhotplug_fixbug.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 1] Fix vcpu hotplug bug: transfer vcpu_avail hex string to qemu, Liu, Jinsong <=