> From: Qemu-devel [mailto:qemu-devel-bounces+luwei.kang=intel....@nongnu.org] 
> On Behalf Of Paolo Bonzini
> Sent: Friday, December 21, 2018 8:44 PM
> To: qemu-devel@nongnu.org
> Cc: ehabk...@redhat.com; qemu-sta...@nongnu.org
> Subject: [Qemu-devel] [PATCH] i386: mark the 'INTEL_PT' CPUID bit as 
> unmigratable
> 
> Marshaling of processor tracing MSRs is not yet implemented in QEMU, mark the 
> feature as unmigratable.

Hi Paolo,
    I think Intel PT has supported live migration. I don't understand what you 
mean.

    commit b77146e9a129bcdb60edc23639211679ae846a92
    Author: Chao Peng <chao.p.p...@linux.intel.com>
    Date:   Mon Mar 5 00:48:36 2018 +0800
    i386: Add support to get/set/migrate Intel Processor Trace feature

Thanks,
Luwei Kang

> 
> Cc: qemu-sta...@nongnu.org
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
> ---
>  target/i386/cpu.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 
> 9c54c41e7a..a6a597d2bf 100644
> --- a/target/i386/cpu.c
> +++ b/target/i386/cpu.c
> @@ -1012,6 +1012,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] 
> = {
>              .needs_ecx = true, .ecx = 0,
>              .reg = R_EBX,
>          },
> +        .unmigratable_features = CPUID_7_0_EBX_INTEL_PT,
>          .tcg_features = TCG_7_0_EBX_FEATURES,
>      },
>      [FEAT_7_0_ECX] = {
> --
> 2.20.1
> 


Reply via email to