Andrew Jones 
		9cd07db94b 
		
	 
	
	
	hw/arm/virt: Remove virt machine state 'smp_cpus' ... 
			virt machine's 'smp_cpus' and machine->smp.cpus must always have the
same value. And, anywhere we have virt machine state we have machine
state. So let's remove the redundancy. Also, to make it easier to see
that machine->smp is the true source for "smp_cpus" and "max_cpus",
avoid passing them in function parameters, preferring instead to get
them from the state.
No functional change intended.
Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: David Edmondson <david.edmondson@oracle.com>
Reviewed-by: Ying Fang <fangying1@huawei.com>
Message-id: 20201215174815.51520-1-drjones@redhat.com 
[PMM: minor formatting tweak to smp_cpus variable declaration]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org> 
		
	 
		2021-01-08 15:13:38 +00:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2020-08-28 10:02:45 +01:00 
		 
	
		
			
			
			
			
			
			2020-08-28 15:14:40 +01:00 
		 
	
		
			
			
			
			
			
			2020-11-10 11:03:48 +00:00 
		 
	
		
			
			
			
			
			
			2020-12-10 11:44:56 +00:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:11:03 +01:00 
		 
	
		
			
			
			
			
			
			2020-09-18 09:04:36 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:15:07 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-27 11:10:44 +00:00 
		 
	
		
			
			
			
			
			
			2020-10-27 11:10:44 +00:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:51:55 -05:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:15:04 -05:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:15:18 -05:00 
		 
	
		
			
			
			
			
			
			2020-07-10 15:18:08 +02:00 
		 
	
		
			
			
			
			
			
			2020-06-15 22:06:04 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-22 16:45:16 -04:00 
		 
	
		
			
			
			
			
			
			2020-07-13 14:36:08 +01:00 
		 
	
		
			
			
			
			
			
			2020-07-10 15:18:08 +02:00 
		 
	
		
			
			
			
			
			
			2020-07-13 14:36:08 +01:00 
		 
	
		
			
			
			
			
			
			2020-07-13 14:36:07 +01:00 
		 
	
		
			
			
			
			
			
			2020-07-10 15:18:08 +02:00 
		 
	
		
			
			
			
			
			
			2020-03-05 16:09:14 +00:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:15:18 -05:00 
		 
	
		
			
			
			
			
			
			2020-06-23 16:07:07 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-22 16:45:16 -04:00 
		 
	
		
			
			
			
			
			
			2020-12-13 17:54:55 +01:00 
		 
	
		
			
			
			
			
			
			2020-06-15 22:06:04 +02:00 
		 
	
		
			
			
			
			
			
			2020-03-17 15:18:46 +01:00 
		 
	
		
			
			
			
			
			
			2020-07-10 15:18:08 +02:00 
		 
	
		
			
			
			
			
			
			2020-06-23 16:07:07 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-14 14:24:58 +01:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2020-08-03 17:55:03 +01:00 
		 
	
		
			
			
			
			
			
			2020-06-23 16:07:07 +02:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2020-11-10 11:03:48 +00:00 
		 
	
		
			
			
			
			
			
			2020-08-03 17:55:03 +01:00 
		 
	
		
			
			
			
			
			
			2020-08-03 17:55:03 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:15:18 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-27 11:10:32 +00:00 
		 
	
		
			
			
			
			
			
			2020-08-03 17:55:31 +01:00 
		 
	
		
			
			
			
			
			
			2020-11-10 11:03:48 +00:00 
		 
	
		
			
			
			
			
			
			2020-09-01 11:53:44 +02:00 
		 
	
		
			
			
			
			
			
			2020-06-15 22:05:28 +02:00 
		 
	
		
			
			
			
			
			
			2020-03-17 15:18:46 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:15:04 -05:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2020-09-18 14:12:32 -04:00 
		 
	
		
			
			
			
			
			
			2020-12-18 15:20:17 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-27 11:10:44 +00:00 
		 
	
		
			
			
			
			
			
			2020-09-22 16:45:16 -04:00 
		 
	
		
			
			
			
			
			
			2020-06-23 16:07:07 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:15:18 -05:00 
		 
	
		
			
			
			
			
			
			2020-12-08 13:48:57 -05:00 
		 
	
		
			
			
			
			
			
			2020-08-24 10:02:06 +01:00 
		 
	
		
			
			
			
			
			
			2020-12-10 11:30:44 +00:00 
		 
	
		
			
			
			
			
			
			2020-12-08 13:48:57 -05:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:15:03 -05:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:15:03 -05:00 
		 
	
		
			
			
			
			
			
			2020-11-10 11:03:48 +00:00 
		 
	
		
			
			
			
			
			
			2020-07-10 15:18:08 +02:00 
		 
	
		
			
			
			
			
			
			2020-12-18 15:20:17 -05:00 
		 
	
		
			
			
			
			
			
			2019-10-22 17:44:01 +01:00 
		 
	
		
			
			
			
			
			
			2020-03-05 12:18:16 -05:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:15:03 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-27 11:10:44 +00:00 
		 
	
		
			
			
			
			
			
			2020-08-21 06:18:24 -04:00 
		 
	
		
			
			
			
			
			
			2020-09-22 16:45:16 -04:00 
		 
	
		
			
			
			
			
			
			2020-12-14 14:25:44 -05:00 
		 
	
		
			
			
			
			
			
			2021-01-08 15:13:38 +00:00 
		 
	
		
			
			
			
			
			
			2021-01-08 15:13:38 +00:00 
		 
	
		
			
			
			
			
			
			2020-09-22 16:45:16 -04:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:04:30 +00:00 
		 
	
		
			
			
			
			
			
			2020-12-15 12:04:30 +00:00 
		 
	
		
			
			
			
			
			
			2020-12-10 11:30:44 +00:00 
		 
	
		
			
			
			
			
			
			2020-12-10 11:30:44 +00:00 
		 
	
		
			
			
			
			
			
			2020-12-10 12:15:03 -05:00