hw/hyperv: Fix SynIC not initialized except on first vCPU
hyperv_is_synic_enabled() is a global flag that returns true after the first CPU initializes SynIC. With -smp N, all subsequent CPUs skip hyperv_x86_synic_add(), leaving them without a synic object. This causes get_synic() to return NULL, making hyperv_sint_route_new() fail and triggering an assertion crash in hyperv_testdev. Fix by introducing hyperv_is_synic_present() which checks per-CPU whether a synic object is already attached instead of using the global flag. Fixes: c4cf32fc63f1 ("kvm/hyperv: add synic feature to CPU only if its not enabled") Reported-by: Xudong Hao <xudong.hao@intel.com> Co-authored-by: Ani Sinha <anisinha@redhat.com> Signed-off-by: Sourav Poddar <souravpoddar93042@gmail.com> Tested-by: Xudong Hao <xudong.hao@intel.com> Message-ID: <20260320154752.204725-1-anisinha@redhat.com> [PMD: Reworded subject] Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>