Re: [PATCH v5 3/3] pc: q35: Bump max_cpus to 1024

2023-06-07 Thread Igor Mammedov
On Tue, 6 Jun 2023 21:49:39 -0500 Suravee Suthikulpanit wrote: > Since KVM_MAX_VCPUS is currently defined to 1024 for x86 as shown in > arch/x86/include/asm/kvm_host.h, update QEMU limits to the same number. > > In case KVM could not support the specified number of vcpus, QEMU would > return the

Re: [PATCH v5 3/3] pc: q35: Bump max_cpus to 1024

2023-06-07 Thread Igor Mammedov
On Wed, 7 Jun 2023 10:26:59 +0200 Philippe Mathieu-Daudé wrote: > On 7/6/23 04:49, Suravee Suthikulpanit wrote: > > Since KVM_MAX_VCPUS is currently defined to 1024 for x86 as shown in > > arch/x86/include/asm/kvm_host.h, update QEMU limits to the same number. > > > > In case KVM could not suppo

Re: [PATCH v5 3/3] pc: q35: Bump max_cpus to 1024

2023-06-07 Thread Daniel P . Berrangé
On Wed, Jun 07, 2023 at 10:26:59AM +0200, Philippe Mathieu-Daudé wrote: > On 7/6/23 04:49, Suravee Suthikulpanit wrote: > > Since KVM_MAX_VCPUS is currently defined to 1024 for x86 as shown in > > arch/x86/include/asm/kvm_host.h, update QEMU limits to the same number. > > > > In case KVM could not

Re: [PATCH v5 3/3] pc: q35: Bump max_cpus to 1024

2023-06-07 Thread Philippe Mathieu-Daudé
On 7/6/23 04:49, Suravee Suthikulpanit wrote: Since KVM_MAX_VCPUS is currently defined to 1024 for x86 as shown in arch/x86/include/asm/kvm_host.h, update QEMU limits to the same number. In case KVM could not support the specified number of vcpus, QEMU would return the following error message:

[PATCH v5 3/3] pc: q35: Bump max_cpus to 1024

2023-06-06 Thread Suravee Suthikulpanit
Since KVM_MAX_VCPUS is currently defined to 1024 for x86 as shown in arch/x86/include/asm/kvm_host.h, update QEMU limits to the same number. In case KVM could not support the specified number of vcpus, QEMU would return the following error message: qemu-system-x86_64: kvm_init_vcpu: kvm_get_vcp