]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
hw/i386/pc: rename functions shared with non-PC machines
authorSergio Lopez <slp@redhat.com>
Thu, 26 Sep 2019 13:26:16 +0000 (15:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Oct 2019 07:38:42 +0000 (09:38 +0200)
commit81ef68e44c84377fe66e0b27626f2f562f558a6d
treef69cbcac69c3a9edc68467e1938a2a820eb354b8
parentbca964bcea65e69895ff7200ca0b5ddd01b87d24
hw/i386/pc: rename functions shared with non-PC machines

The following functions are named *pc* but are not PC-machine specific
but generic to the X86 architecture, rename them:

  load_linux                 -> x86_load_linux
  pc_new_cpu                 -> x86_new_cpu
  pc_cpus_init               -> x86_cpus_init
  pc_cpu_index_to_props      -> x86_cpu_index_to_props
  pc_get_default_cpu_node_id -> x86_get_default_cpu_node_id
  pc_possible_cpu_arch_ids   -> x86_possible_cpu_arch_ids
  old_pc_system_rom_init     -> x86_system_rom_init

Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/i386/pc_sysfw.c
include/hw/i386/pc.h