[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH v2 16/17] kvm: x86: Rework identity map and TSS
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] Re: [PATCH v2 16/17] kvm: x86: Rework identity map and TSS setup for larger BIOS sizes |
Date: |
Mon, 03 Jan 2011 17:52:29 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
Am 03.01.2011 17:06, Avi Kivity wrote:
> On 01/03/2011 10:33 AM, Jan Kiszka wrote:
>> From: Jan Kiszka<address@hidden>
>>
>> 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.
And I would prefer to avoid needlessly cluttering the physical guest
address space where not needed. Long term, we could even give user space
a hint (unless it can test it directly) that this workaround is no
longer needed as the host Intel CPU supports true real mode.
>
>> 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.
>
Well, at least this is not how kvm upstream works so far.
Jan
signature.asc
Description: OpenPGP digital signature
[Qemu-devel] [PATCH v2 07/17] kvm: x86: Prepare kvm_get_mp_state for in-kernel irqchip, Jan Kiszka, 2011/01/03
[Qemu-devel] [PATCH v2 16/17] kvm: x86: Rework identity map and TSS setup for larger BIOS sizes, Jan Kiszka, 2011/01/03
[Qemu-devel] [PATCH v2 15/17] kvm: Drop smp_cpus argument from init functions, Jan Kiszka, 2011/01/03
[Qemu-devel] [PATCH v2 11/17] kvm: x86: Reset paravirtual MSRs, Jan Kiszka, 2011/01/03
[Qemu-devel] [PATCH v2 13/17] kvm: Eliminate KVMState arguments, Jan Kiszka, 2011/01/03
[Qemu-devel] [PATCH v2 06/17] kvm: x86: Align kvm_arch_put_registers code with comment, Jan Kiszka, 2011/01/03