Re: [PATCH v2] target-i386: add KVM_HINTS_DEDICATED performance hint

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

 



2018-02-09 22:31 GMT+08:00 Eduardo Habkost <ehabkost@xxxxxxxxxx>:
> On Fri, Feb 09, 2018 at 06:15:25AM -0800, Wanpeng Li wrote:
>> From: Wanpeng Li <wanpengli@xxxxxxxxxxx>
>>
>> Add KVM_HINTS_DEDICATED performance hint, guest checks this feature bit
>> to determine if they run on dedicated vCPUs, allowing optimizations such
>> as usage of qspinlocks.
>>
>> Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx>
>> Cc: Radim Krčmář <rkrcmar@xxxxxxxxxx>
>> Cc: Eduardo Habkost <ehabkost@xxxxxxxxxx>
>> Signed-off-by: Wanpeng Li <wanpengli@xxxxxxxxxxx>
> [...]
>> +    [FEAT_KVM_HINTS] = {
>> +        .feat_names = {
>> +            "hint-dedicated", NULL, NULL, NULL,
>> +            NULL, NULL, NULL, NULL,
>> +            NULL, NULL, NULL, NULL,
>> +            NULL, NULL, NULL, NULL,
>> +            NULL, NULL, NULL, NULL,
>> +            NULL, NULL, NULL, NULL,
>> +            NULL, NULL, NULL, NULL,
>> +            NULL, NULL, NULL, NULL,
>> +        },
>> +        .cpuid_eax = KVM_CPUID_FEATURES, .cpuid_reg = R_EDX,
>> +        .tcg_features = TCG_KVM_FEATURES,
>> +    },
>
> Do you have a pointer to the KVM patch that adds this bit to
> Documentation/virtual/kvm/cpuid.txt?  I would like to wait until
> the KVM CPUID docs are updated before applying the patch to QEMU.

Yeah, please refer to https://lkml.org/lkml/2018/2/9/476

Regards,
Wanpeng Li




[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