q35: Remove MCHPCIState.guest_info field
The field is not used for anything. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
This commit is contained in:
		
							parent
							
								
									81ed6482a3
								
							
						
					
					
						commit
						34be1e7c92
					
				@ -176,7 +176,6 @@ static void pc_q35_init(MachineState *machine)
 | 
				
			|||||||
    q35_host->mch.address_space_io = get_system_io();
 | 
					    q35_host->mch.address_space_io = get_system_io();
 | 
				
			||||||
    q35_host->mch.below_4g_mem_size = pcms->below_4g_mem_size;
 | 
					    q35_host->mch.below_4g_mem_size = pcms->below_4g_mem_size;
 | 
				
			||||||
    q35_host->mch.above_4g_mem_size = pcms->above_4g_mem_size;
 | 
					    q35_host->mch.above_4g_mem_size = pcms->above_4g_mem_size;
 | 
				
			||||||
    q35_host->mch.guest_info = guest_info;
 | 
					 | 
				
			||||||
    /* pci */
 | 
					    /* pci */
 | 
				
			||||||
    qdev_init_nofail(DEVICE(q35_host));
 | 
					    qdev_init_nofail(DEVICE(q35_host));
 | 
				
			||||||
    phb = PCI_HOST_BRIDGE(q35_host);
 | 
					    phb = PCI_HOST_BRIDGE(q35_host);
 | 
				
			||||||
 | 
				
			|||||||
@ -59,7 +59,6 @@ typedef struct MCHPCIState {
 | 
				
			|||||||
    ram_addr_t below_4g_mem_size;
 | 
					    ram_addr_t below_4g_mem_size;
 | 
				
			||||||
    ram_addr_t above_4g_mem_size;
 | 
					    ram_addr_t above_4g_mem_size;
 | 
				
			||||||
    uint64_t pci_hole64_size;
 | 
					    uint64_t pci_hole64_size;
 | 
				
			||||||
    PcGuestInfo *guest_info;
 | 
					 | 
				
			||||||
    uint32_t short_root_bus;
 | 
					    uint32_t short_root_bus;
 | 
				
			||||||
    IntelIOMMUState *iommu;
 | 
					    IntelIOMMUState *iommu;
 | 
				
			||||||
} MCHPCIState;
 | 
					} MCHPCIState;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user