Re: [PATCH v2 16/17] kvm: x86: Rework identity map and TSS setup for larger BIOS sizes

Avi Kivity
2011-01-03T16:06:52Z

On 01/03/2011 10:33 AM, Jan Kiszka wrote:
> From: Jan Kiszka<jan.kiszka@siemens.com>
>
> First of all, we only need this EPT identity and TSS reservation on
> Intel CPUs.

kvm-amd will ignore it just fine. I'd like to keep arch differences
away from userspace.

> Then, in order to support loading BIOSes> 256K, reorder the
> code, adjusting the base if the kernel supports moving the identity map.
> We can drop the check for KVM_CAP_SET_TSS_ADDR as we already depend on
> much newer features.

There is no ordering on kvm features. Each can come and go as it pleases.

--
error compiling committee.c: too many arguments to function