Re: [PATCH 12/13] KVM: x86: add KVM_MEM_X86_SMRAM memory slot flag

From: Bandan Das
Date: Wed May 06 2015 - 14:15:21 EST


Radim KrÄmÃÅ <rkrcmar@xxxxxxxxxx> writes:
...
>
> That doesn't improve the main issue, so x86 is good.
>
>>> Another option is adding something like "vcpu kvm_arch_fake_vcpu(kvm)"
>>> for cases where the access doesn't have an associated vcpu, so it would
>>> always succeed. (Might not be generic enough.)
>>
>> That's ugly...
>
> Yes. (And I still prefer it.)

Ooh, I hope we don't go this route :) I understand the motivation but
if there would be cases where we would have to fake the condition
to be true, maybe we should reconsider our design.

Bandan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/