Hello! I already explained this earlier: http://lists.nongnu.org/archive/html/qemu-devel/2015-05/msg04842.html, and i tried to explain this in commit message. Current qemu architecture does not allow doing this in a clean way. I can simply change mc->max_cpus for 'virt' machine to 64 (always), and then check user-supplied value against GIC limitation by myself. And produce error. This will be code duplication. Do you think it is better? Anybody else (Peter, Cristoffer ?), please vote.
Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia