]> git.proxmox.com Git - mirror_qemu.git/commit
accel: Replace current_machine->accelerator by current_accel() wrapper
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 21 Jan 2020 11:03:48 +0000 (12:03 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 Jan 2020 19:59:11 +0000 (20:59 +0100)
commit4f7f589381d5f75fe5ce9af68bd5a83237c93e3a
treef32bbd5fb3213efa462af7059595420603125c45
parentce7cdebdb583c8dd20e74c977f61c91b8d4333ef
accel: Replace current_machine->accelerator by current_accel() wrapper

We actually want to access the accelerator, not the machine, so
use the current_accel() wrapper instead.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200121110349.25842-10-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c
accel/tcg/tcg-all.c
memory.c
target/arm/kvm64.c
target/i386/kvm.c
target/ppc/kvm.c
vl.c