[libvirt] [Patch] Fix vcpupin to inactive domains on Xend3.0.3.
Takahashi Tomohiro
takatom at jp.fujitsu.com
Wed Apr 15 00:52:39 UTC 2009
Hi Daniel-san,
Thank you for your reply.
I see.
And I checked this problem is solved by your patch.
Thanks,
Tomohiro Takahashi.
Daniel Veillard wrote:
> On Tue, Apr 14, 2009 at 04:41:50PM +0900, Takahashi Tomohiro wrote:
>> Hi,
>>
>> I made the patch that corrected the following problem.
>> It is that when I execute the "virsh vcpupin" command to inactive
>> domains on Xend3.0.3,
>> Libvirt outputs the following Segmentation fault.
>>
>> # virsh vcpupin guest_dom 0 0,1,2
>> Segmentation fault
>
> Yup there is a bug there, but the patch is wrong, it will lead to a
> memory leak instead of fixing the real problem which is that
> virDomainCpuSetParse() override the mapstr pointer, and the VIR_FREE
> is being passed the wrong pointer.
> The following patch fixes the problem for me,
>
> thanks,
>
> Daniel
>
>
More information about the libvir-list
mailing list