Re: [PATCH 4/5] KVM: Add hypercall queue for paravirt_ops implementation

Jeremy Fitzhardinge
2007-06-18T04:09:31Z

Jeremy Fitzhardinge wrote:
>> +static int kvm_hypercall_flush(struct kvm_vcpu *vcpu)
>> +{
>> + struct kvm_hypercall_entry *queue;
>> + struct kvm_vmca *vmca;
>> + int ret = 0;
>> + int i;
>> +
>> + queue = kmap(vcpu->queue_page);
>> + vmca = kmap(vcpu->para_state_page);
>>
>>
>
> kmap_atomic? Or why not keep them mapped all the time?
>

Oh, right, this is on the kvm side. Still, kmap_atomic?

J