mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-25 12:52:21 +00:00
Now, default values for vcpu topology are 0s, that is not correct and may lead to bug. Fix it by setting default value to 1s. Also add check in case one or more of these values are zero. Fixes: #5892 Signed-off-by: Jianyong Wu <jianyong.wu@arm.com> (cherry picked from commit 2434e76ee0eaaa99ae20b1f2f6cd7082cd7b1e63)