On 30/09/19 11:32, Vitaly Kuznetsov wrote:
>> +static inline void kvm_register_mark_dirty(struct kvm_vcpu *vcpu,
>> + enum kvm_reg reg)
>> +{
>> +__set_bit(reg, (unsigned long *)&vcpu->arch.regs_avail);
>> +__set_bit(reg, (unsigned long *)&vcpu->arch.re
Sean Christopherson writes:
> Add helpers to prettify code that tests and/or marks whether or not a
> register is available and/or dirty.
>
> Suggested-by: Vitaly Kuznetsov
> Signed-off-by: Sean Christopherson
> ---
> arch/x86/kvm/kvm_cache_regs.h | 45 +--
> ar
Add helpers to prettify code that tests and/or marks whether or not a
register is available and/or dirty.
Suggested-by: Vitaly Kuznetsov
Signed-off-by: Sean Christopherson
---
arch/x86/kvm/kvm_cache_regs.h | 45 +--
arch/x86/kvm/vmx/nested.c | 4 ++--
arch/x
3 matches
Mail list logo