[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v8 3/9] i386: hardcode supported eVMCS version to '1'
From: |
Eduardo Habkost |
Subject: |
Re: [PATCH v8 3/9] i386: hardcode supported eVMCS version to '1' |
Date: |
Tue, 8 Jun 2021 09:52:07 -0300 |
On Tue, Jun 08, 2021 at 02:08:11PM +0200, Vitaly Kuznetsov wrote:
> Currently, the only eVMCS version, supported by KVM (and described in TLFS)
> is '1'. When Enlightened VMCS feature is enabled, QEMU takes the supported
> eVMCS version range (from KVM_CAP_HYPERV_ENLIGHTENED_VMCS enablement) and
> puts it to guest visible CPUIDs. When (and if) eVMCS ver.2 appears a
> problem on migration is expected: it doesn't seem to be possible to migrate
> from a host supporting eVMCS ver.2 to a host, which only support eVMCS
> ver.1.
Should we rewrite this as "it wouldn't be possible to migrate",
as this patch fixes the problem and makes it possible?
>
> Hardcode eVMCS ver.1 as the result of 'hv-evmcs' enablement for now. Newer
> eVMCS versions will have to have their own enablement options (e.g.
> 'hv-evmcs=2').
>
> Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
--
Eduardo
- [PATCH v8 0/9] i386: KVM: expand Hyper-V features early, Vitaly Kuznetsov, 2021/06/08
- [PATCH v8 1/9] i386: avoid hardcoding '12' as 'hyperv_vendor_id' length, Vitaly Kuznetsov, 2021/06/08
- [PATCH v8 2/9] i386: clarify 'hv-passthrough' behavior, Vitaly Kuznetsov, 2021/06/08
- [PATCH v8 3/9] i386: hardcode supported eVMCS version to '1', Vitaly Kuznetsov, 2021/06/08
- Re: [PATCH v8 3/9] i386: hardcode supported eVMCS version to '1',
Eduardo Habkost <=
- [PATCH v8 4/9] i386: make hyperv_expand_features() return bool, Vitaly Kuznetsov, 2021/06/08
- [PATCH v8 5/9] i386: expand Hyper-V features during CPU feature expansion time, Vitaly Kuznetsov, 2021/06/08
- [PATCH v8 6/9] i386: kill off hv_cpuid_check_and_set(), Vitaly Kuznetsov, 2021/06/08
- [PATCH v8 7/9] i386: HV_HYPERCALL_AVAILABLE privilege bit is always needed, Vitaly Kuznetsov, 2021/06/08
- [PATCH v8 8/9] i386: Hyper-V SynIC requires POST_MESSAGES/SIGNAL_EVENTS privileges, Vitaly Kuznetsov, 2021/06/08
- [PATCH v8 9/9] qtest/hyperv: Introduce a simple hyper-v test, Vitaly Kuznetsov, 2021/06/08