[virt-tools-list] [PATCH] Fix virt-install cpuset check

Michal Novotny minovotn at redhat.com
Mon Jul 27 09:24:40 UTC 2009


Hi there,
there was an error (exception) when trying to set cpuset pinning string 
that was ending with comma because of function was trying to convert an 
empty string as well. This was throwing an exception for string ending 
with comma, strings like "1,"... So this patch fixes this and sets the 
cpuset value to the one with this ending comma stripped, ie. "1" instead 
of "1,".

Thanks,
Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virtinst_cpuset_check.patch
Type: text/x-patch
Size: 1411 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20090727/b4b5fc93/attachment.bin>


More information about the virt-tools-list mailing list