On Tue, 21 Jan 2020 12:03:47 +0100 Philippe Mathieu-Daudé <phi...@redhat.com> wrote:
> The accel/ code only access the MachineState::accel field. s/access/accesses/ > As we simply want to access the accelerator, not the machine, > add a current_accel() wrapper. > > Suggested-by: Paolo Bonzini <pbonz...@redhat.com> > Reviewed-by: Alistair Francis <alistair.fran...@wdc.com> > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- > v2: Reworded description using 'wrapper' > --- > include/sysemu/accel.h | 2 ++ > accel/accel.c | 5 +++++ > 2 files changed, 7 insertions(+) Reviewed-by: Cornelia Huck <coh...@redhat.com>