Re: [Qemu-devel] [PATCH] target-arm: Fix multi-pass virt CPU feature parsing

2015-03-03 Thread Greg Bellows
Just saw that Ard sent out a similar fix. Disregard this patch if we decide to go with his (< 1425402380-10488-1-git-send-email-ard.biesheu...@linaro.org>). Greg On Tue, Mar 3, 2015 at 1:02 PM, Greg Bellows wrote: > Fixes issue when combining CPU features and smp. The issue is caused by > pars

[Qemu-devel] [PATCH] target-arm: Fix multi-pass virt CPU feature parsing

2015-03-03 Thread Greg Bellows
Fixes issue when combining CPU features and smp. The issue is caused by parse_feature's use of strtok which modifies the input feature string that is needed for each smp CPU pass. This patch restores the feature string for each pass. Signed-off-by: Greg Bellows --- hw/arm/virt.c | 14 +++