[libvirt] [PATCH 1/2] qemu: use strsep for CPU command line parsing
Daniel P. Berrange
berrange at redhat.com
Thu May 2 17:14:42 UTC 2013
On Thu, May 02, 2013 at 07:07:05PM +0200, Ján Tomko wrote:
> Copy the command line to allow modifying it, then get the tokens
> by strsep. This removes the need to strdup every feature separately,
> and simplifies the code.
Please use the virStringSplit() function instead of strsep()
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list