]> Git Repo - qemu.git/commitdiff
hw/i386/xen: Rename X86/PC specific function as xen_hvm_init_pc()
authorPhilippe Mathieu-Daudé <[email protected]>
Tue, 8 Sep 2020 15:55:26 +0000 (17:55 +0200)
committerPaolo Bonzini <[email protected]>
Wed, 30 Sep 2020 17:11:36 +0000 (19:11 +0200)
xen_hvm_init() is only meanful to initialize a X86/PC machine,
rename it as xen_hvm_init_pc().

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20200908155530[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
accel/stubs/xen-stub.c
hw/i386/pc_piix.c
hw/i386/xen/xen-hvm.c
include/hw/xen/xen.h

index 8ae658acff5fda2063673431ae42faab13446a57..fa3dddbce57f3301ce8527c29c80b950c2af9fd7 100644 (file)
@@ -46,7 +46,7 @@ void xen_register_framebuffer(MemoryRegion *mr)
 {
 }
 
-void xen_hvm_init(PCMachineState *pcms, MemoryRegion **ram_memory)
+void xen_hvm_init_pc(PCMachineState *pcms, MemoryRegion **ram_memory)
 {
 }
 
index 32c5d957625244bf43785e860850f0445f4537af..9eaf8d6e0d72a28b7ddefd62dad0ed2b4a74d100 100644 (file)
@@ -117,8 +117,8 @@ static void pc_init1(MachineState *machine,
      *    so legacy non-PAE guests can get as much memory as possible in
      *    the 32bit address space below 4G.
      *
-     *  - Note that Xen has its own ram setp code in xen_ram_init(),
-     *    called via xen_hvm_init().
+     *  - Note that Xen has its own ram setup code in xen_ram_init(),
+     *    called via xen_hvm_init_pc().
      *
      * Examples:
      *    qemu -M pc-1.7 -m 4G    (old default)    -> 3584M low,  512M high
@@ -127,7 +127,7 @@ static void pc_init1(MachineState *machine,
      *    qemu -M pc,max-ram-below-4g=4G -m 3968M  -> 3968M low (=4G-128M)
      */
     if (xen_enabled()) {
-        xen_hvm_init(pcms, &ram_memory);
+        xen_hvm_init_pc(pcms, &ram_memory);
     } else {
         if (!pcms->max_ram_below_4g) {
             pcms->max_ram_below_4g = 0xe0000000; /* default: 3.5G */
index a39a648ca6155f7ee12bd9949ce15a51980a88e3..91b6a300611e0fde0903450e7607d6dcd7a03eda 100644 (file)
@@ -1395,7 +1395,7 @@ static int xen_map_ioreq_server(XenIOState *state)
     return 0;
 }
 
-void xen_hvm_init(PCMachineState *pcms, MemoryRegion **ram_memory)
+void xen_hvm_init_pc(PCMachineState *pcms, MemoryRegion **ram_memory)
 {
     MachineState *ms = MACHINE(pcms);
     unsigned int max_cpus = ms->smp.max_cpus;
index 771dd447f2b94437a4df8b3b9542005a12ed716e..b2b459964cbc7a81ed23ca629731a4d329f6b11a 100644 (file)
@@ -30,7 +30,7 @@ qemu_irq *xen_interrupt_controller_init(void);
 
 void xenstore_store_pv_console_info(int i, struct Chardev *chr);
 
-void xen_hvm_init(PCMachineState *pcms, MemoryRegion **ram_memory);
+void xen_hvm_init_pc(PCMachineState *pcms, MemoryRegion **ram_memory);
 
 void xen_register_framebuffer(struct MemoryRegion *mr);
 
This page took 0.035599 seconds and 4 git commands to generate.