« Previous | Next » 

Revision 3ed444e9

ID3ed444e949cd2f0938759836c0991dfabe86f485

Added by Dunrong Huang almost 12 years ago

kvm: Check if smp_cpus exceeds max cpus supported by kvm

Add a helper function for fetching max cpus supported by kvm.

Make QEMU exit with an error message if smp_cpus exceeds limit
of VCPU count retrieved by invoking this helper function.

Signed-off-by: Dunrong Huang <>
Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Avi Kivity <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences