hvf: Make synchronize functions static
The hvf accel synchronize functions are only used as input for local callback functions, so we can make them static. Signed-off-by: Alexander Graf <agraf@csgraf.de> Reviewed-by: Sergio Lopez <slp@redhat.com> Message-id: 20210519202253.76782-10-agraf@csgraf.de Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
65c725b520
commit
36464fafcb
@ -214,7 +214,7 @@ static void do_hvf_cpu_synchronize_post_reset(CPUState *cpu,
|
|||||||
cpu->vcpu_dirty = false;
|
cpu->vcpu_dirty = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void hvf_cpu_synchronize_post_reset(CPUState *cpu)
|
static void hvf_cpu_synchronize_post_reset(CPUState *cpu)
|
||||||
{
|
{
|
||||||
run_on_cpu(cpu, do_hvf_cpu_synchronize_post_reset, RUN_ON_CPU_NULL);
|
run_on_cpu(cpu, do_hvf_cpu_synchronize_post_reset, RUN_ON_CPU_NULL);
|
||||||
}
|
}
|
||||||
@ -226,7 +226,7 @@ static void do_hvf_cpu_synchronize_post_init(CPUState *cpu,
|
|||||||
cpu->vcpu_dirty = false;
|
cpu->vcpu_dirty = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void hvf_cpu_synchronize_post_init(CPUState *cpu)
|
static void hvf_cpu_synchronize_post_init(CPUState *cpu)
|
||||||
{
|
{
|
||||||
run_on_cpu(cpu, do_hvf_cpu_synchronize_post_init, RUN_ON_CPU_NULL);
|
run_on_cpu(cpu, do_hvf_cpu_synchronize_post_init, RUN_ON_CPU_NULL);
|
||||||
}
|
}
|
||||||
@ -237,7 +237,7 @@ static void do_hvf_cpu_synchronize_pre_loadvm(CPUState *cpu,
|
|||||||
cpu->vcpu_dirty = true;
|
cpu->vcpu_dirty = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void hvf_cpu_synchronize_pre_loadvm(CPUState *cpu)
|
static void hvf_cpu_synchronize_pre_loadvm(CPUState *cpu)
|
||||||
{
|
{
|
||||||
run_on_cpu(cpu, do_hvf_cpu_synchronize_pre_loadvm, RUN_ON_CPU_NULL);
|
run_on_cpu(cpu, do_hvf_cpu_synchronize_pre_loadvm, RUN_ON_CPU_NULL);
|
||||||
}
|
}
|
||||||
|
@ -13,8 +13,5 @@
|
|||||||
#include "sysemu/cpus.h"
|
#include "sysemu/cpus.h"
|
||||||
|
|
||||||
int hvf_vcpu_exec(CPUState *);
|
int hvf_vcpu_exec(CPUState *);
|
||||||
void hvf_cpu_synchronize_post_reset(CPUState *);
|
|
||||||
void hvf_cpu_synchronize_post_init(CPUState *);
|
|
||||||
void hvf_cpu_synchronize_pre_loadvm(CPUState *);
|
|
||||||
|
|
||||||
#endif /* HVF_CPUS_H */
|
#endif /* HVF_CPUS_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user