aboutsummaryrefslogtreecommitdiff
path: root/accel/hvf
diff options
context:
space:
mode:
authorAlexander Graf <agraf@csgraf.de>2021-06-03 14:09:32 +0100
committerPeter Maydell <peter.maydell@linaro.org>2021-06-03 16:43:27 +0100
commit3f965ef4e013d37391f5bb94c243d4a4b1825b1f (patch)
tree80551635bfcd49e992e2765f8aa999822be89b0d /accel/hvf
parent861457ce73bc9e0e56d866b5c06e2c745fe53448 (diff)
downloadqemu-3f965ef4e013d37391f5bb94c243d4a4b1825b1f.zip
qemu-3f965ef4e013d37391f5bb94c243d4a4b1825b1f.tar.gz
qemu-3f965ef4e013d37391f5bb94c243d4a4b1825b1f.tar.bz2
hvf: Make hvf_set_phys_mem() static
The hvf_set_phys_mem() function is only called within the same file. Make it static. Signed-off-by: Alexander Graf <agraf@csgraf.de> Reviewed-by: Sergio Lopez <slp@redhat.com> Message-id: 20210519202253.76782-6-agraf@csgraf.de Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'accel/hvf')
-rw-r--r--accel/hvf/hvf-accel-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/hvf/hvf-accel-ops.c b/accel/hvf/hvf-accel-ops.c
index c2136df..5bec7b4 100644
--- a/accel/hvf/hvf-accel-ops.c
+++ b/accel/hvf/hvf-accel-ops.c
@@ -114,7 +114,7 @@ static int do_hvf_set_memory(hvf_slot *slot, hv_memory_flags_t flags)
return 0;
}
-void hvf_set_phys_mem(MemoryRegionSection *section, bool add)
+static void hvf_set_phys_mem(MemoryRegionSection *section, bool add)
{
hvf_slot *mem;
MemoryRegion *area = section->mr;