xl: move the vcpu affinity parsing in a function
authorDario Faggioli <dario.faggioli@citrix.com>
Tue, 29 Jul 2014 16:06:42 +0000 (18:06 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 30 Jul 2014 11:45:25 +0000 (12:45 +0100)
commit14ea07848b8b0f00ea311ee5413932129b6f6c72
tree910a07a9fc9e839af7bd206a74e0e2c19735f8c7
parentaf589e1a9c77c52be5da84c6eabc92a2bb0e72d2
xl: move the vcpu affinity parsing in a function

so that such parsing code can be used for both hard and soft
affinity, the support for which is introduced in the next
change.

This is pure code motion, no functional change intended.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl_cmdimpl.c