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

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

 



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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux