50 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From 60d59db99f0527eaf0ce8d3a18d8333aa77a03f2 Mon Sep 17 00:00:00 2001
 | |
| From: Sebastian Ott <sebott@redhat.com>
 | |
| Date: Thu, 5 Sep 2024 13:53:13 +0200
 | |
| Subject: [PATCH 2/9] arm: create new virt machine type for rhel 9.6
 | |
| 
 | |
| RH-Author: Sebastian Ott <sebott@redhat.com>
 | |
| RH-MergeRequest: 270: RHEL10 machine types
 | |
| RH-Jira: RHEL-29002 RHEL-29003 RHEL-35587 RHEL-38411 RHEL-45141 RHEL-52318 RHEL-52320
 | |
| RH-Acked-by: Thomas Huth <thuth@redhat.com>
 | |
| RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
 | |
| RH-Acked-by: Eric Auger <eric.auger@redhat.com>
 | |
| RH-Commit: [2/7] 0179f5a7a177f53b58ff9b82bd09217e183f258b (seott1/cos-qemu-kvm)
 | |
| 
 | |
| Signed-off-by: Sebastian Ott <sebott@redhat.com>
 | |
| ---
 | |
|  hw/arm/virt.c | 9 ++++++++-
 | |
|  1 file changed, 8 insertions(+), 1 deletion(-)
 | |
| 
 | |
| diff --git a/hw/arm/virt.c b/hw/arm/virt.c
 | |
| index 31a71a7f45..f94be8656c 100644
 | |
| --- a/hw/arm/virt.c
 | |
| +++ b/hw/arm/virt.c
 | |
| @@ -3580,15 +3580,22 @@ static void virt_machine_2_6_options(MachineClass *mc)
 | |
|  DEFINE_VIRT_MACHINE(2, 6)
 | |
|  #endif /* disabled for RHEL */
 | |
|  
 | |
| +static void virt_rhel_machine_9_6_0_options(MachineClass *mc)
 | |
| +{
 | |
| +}
 | |
| +DEFINE_VIRT_MACHINE_AS_LATEST(9, 6, 0)
 | |
| +
 | |
|  static void virt_rhel_machine_9_4_0_options(MachineClass *mc)
 | |
|  {
 | |
| +    virt_rhel_machine_9_6_0_options(mc);
 | |
| +
 | |
|      /* From virt_machine_9_0_options() */
 | |
|      mc->smbios_memory_device_size = 16 * GiB;
 | |
|  
 | |
|      compat_props_add(mc->compat_props, hw_compat_rhel_10_0, hw_compat_rhel_10_0_len);
 | |
|      compat_props_add(mc->compat_props, hw_compat_rhel_9_5, hw_compat_rhel_9_5_len);
 | |
|  }
 | |
| -DEFINE_VIRT_MACHINE_AS_LATEST(9, 4, 0)
 | |
| +DEFINE_VIRT_MACHINE(9, 4, 0)
 | |
|  
 | |
|  static void virt_rhel_machine_9_2_0_options(MachineClass *mc)
 | |
|  {
 | |
| -- 
 | |
| 2.39.3
 | |
| 
 |