Re: [PATCH v2 01/18] memory: do not look at current_machine->accel

2019-12-11 Thread Richard Henderson
On 12/9/19 7:01 AM, Paolo Bonzini wrote: > "info mtree -f" prints the wrong accelerator name if used with for example > "-machine accel=kvm:tcg". The right thing to do is to fetch the name > from the AccelClass, which will also work nicely once > current_machine->accel stops existing. > > Tested-

[PATCH v2 01/18] memory: do not look at current_machine->accel

2019-12-09 Thread Paolo Bonzini
"info mtree -f" prints the wrong accelerator name if used with for example "-machine accel=kvm:tcg". The right thing to do is to fetch the name from the AccelClass, which will also work nicely once current_machine->accel stops existing. Tested-by: Thomas Huth Reviewed-by: Marc-André Lureau Sign