mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	KVM: x86: bump MAX_VCPUS to 288
288 is in high demand because of Knights Landing CPU. We cannot set the limit to 640k, because that would be wasting space. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
		
							parent
							
								
									c519265f2a
								
							
						
					
					
						commit
						682f732ecf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -34,7 +34,7 @@
 | 
			
		|||
#include <asm/asm.h>
 | 
			
		||||
#include <asm/kvm_page_track.h>
 | 
			
		||||
 | 
			
		||||
#define KVM_MAX_VCPUS 255
 | 
			
		||||
#define KVM_MAX_VCPUS 288
 | 
			
		||||
#define KVM_SOFT_MAX_VCPUS 240
 | 
			
		||||
#define KVM_USER_MEM_SLOTS 509
 | 
			
		||||
/* memory slots that are not exposed to userspace */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue