On 1/7/25 16:39, Philippe Mathieu-Daudé wrote:
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
  include/qemu/accel.h | 2 +-
  accel/kvm/kvm-all.c  | 4 ++--
  system/memory.c      | 2 +-
  3 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/accel/kvm/kvm-all.c b/accel/kvm/kvm-all.c
index 72fba12d9fa..d56ac2a058f 100644
--- a/accel/kvm/kvm-all.c
+++ b/accel/kvm/kvm-all.c
@@ -3789,10 +3789,10 @@ int kvm_get_one_reg(CPUState *cs, uint64_t id, void 
*target)
      return r;
  }
-static bool kvm_accel_has_memory(MachineState *ms, AddressSpace *as,
+static bool kvm_accel_has_memory(AccelState *accel, AddressSpace *as,
                                   hwaddr start_addr, hwaddr size)
  {
-    KVMState *kvm = KVM_STATE(ms->accelerator);
+    KVMState *s = KVM_STATE(accel);

s/s/kvm/


Reply via email to