qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] target/arm/kvm: Check supported feature per accelerator (not


From: Paolo Bonzini
Subject: Re: [PATCH] target/arm/kvm: Check supported feature per accelerator (not per vCPU)
Date: Thu, 18 Jun 2020 12:59:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

On 18/06/20 12:17, Philippe Mathieu-Daudé wrote:
>>>          cpu->kvm_init_features[0] |= 1 << KVM_ARM_VCPU_SVE;
>>>      }
>>>  
>>> -- 
>>> 2.21.3
>>>
>>>
>> At all callsites we pass current_accel() to the kvm_arm_<feat>_supported()
>> functions. Is there any reason not to drop their input parameter and just
>> use current_accel() internally?
> Clever idea :)

Or just the kvm_state global.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]