[libvirt] [PATCHv3] conf: don't modify cpu set string during parsing
Eric Blake
eblake at redhat.com
Mon Nov 21 21:57:51 UTC 2011
On 11/18/2011 09:41 PM, Bharata B Rao wrote:
> On Fri, Nov 18, 2011 at 11:31:12AM -0700, Eric Blake wrote:
>> None of the callers cared if str was updated to point to the next
>> byte after the parsed cpuset; simplifying this results in quite
>> a few code simplifications. Additionally, virCPUDefParseXML was
>> strdup()'ing a malloc()'d string; avoiding a memory copy resulted
>> in less code.
>
> Changes to virCPUDefParseXML look good. <numa> ... </numa> XML
> section is parsed correctly and qemu -numa options are generated
> correctly after this change.
Thanks for the review; I've pushed this patch now.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111121/e2e5965e/attachment-0001.sig>
More information about the libvir-list
mailing list