diff options
| author | Alexander Graf | 2021-09-16 17:53:57 +0200 |
|---|---|---|
| committer | Peter Maydell | 2021-09-20 10:57:03 +0200 |
| commit | ce7f5b1c5027d73aa7c30820ef2b23ef4d72d20d (patch) | |
| tree | 0589ec09611fc791d558c9b4ef7411f49fecf99b /accel | |
| parent | hvf: Add execute to dirty log permission bitmap (diff) | |
| download | qemu-ce7f5b1c5027d73aa7c30820ef2b23ef4d72d20d.tar.gz qemu-ce7f5b1c5027d73aa7c30820ef2b23ef4d72d20d.tar.xz qemu-ce7f5b1c5027d73aa7c30820ef2b23ef4d72d20d.zip | |
hvf: Introduce hvf_arch_init() callback
We will need to install a migration helper for the ARM hvf backend.
Let's introduce an arch callback for the overall hvf init chain to
do so.
Signed-off-by: Alexander Graf <agraf@csgraf.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20210916155404.86958-4-agraf@csgraf.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'accel')
| -rw-r--r-- | accel/hvf/hvf-accel-ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel/hvf/hvf-accel-ops.c b/accel/hvf/hvf-accel-ops.c index 71cc2fa70f..65d431868f 100644 --- a/accel/hvf/hvf-accel-ops.c +++ b/accel/hvf/hvf-accel-ops.c @@ -324,7 +324,8 @@ static int hvf_accel_init(MachineState *ms) hvf_state = s; memory_listener_register(&hvf_memory_listener, &address_space_memory); - return 0; + + return hvf_arch_init(); } static void hvf_accel_class_init(ObjectClass *oc, void *data) |
