diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-12-11 16:42:25 -0200 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:31:49 -0600 |
commit | ba7c337421036bbf960f6a07fb2f410b2a483cb0 (patch) | |
tree | b6221f86467580549cff38cf45567304e21b9133 /include/hw/i386 | |
parent | 3f0bdd425d3d4e3c6ed79e0157e49e85ad9b3b09 (diff) | |
download | hqemu-ba7c337421036bbf960f6a07fb2f410b2a483cb0.zip hqemu-ba7c337421036bbf960f6a07fb2f410b2a483cb0.tar.gz |
pc: Simplify xen_load_linux() signature
We can get the PcGuestInfo struct directly from PCMachineState,
and the return value is not needed at all.
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>
Diffstat (limited to 'include/hw/i386')
-rw-r--r-- | include/hw/i386/pc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 5b21d01..223621a 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -248,8 +248,7 @@ PcGuestInfo *pc_guest_info_init(PCMachineState *pcms); void pc_pci_as_mapping_init(Object *owner, MemoryRegion *system_memory, MemoryRegion *pci_address_space); -FWCfgState *xen_load_linux(PCMachineState *pcms, - PcGuestInfo *guest_info); +void xen_load_linux(PCMachineState *pcms); void pc_memory_init(PCMachineState *pcms, MemoryRegion *system_memory, MemoryRegion *rom_memory, |