qemu-stable
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-stable] [Qemu-devel] [PATCH] i386: mark the 'INTEL_PT' CPUID b


From: Kang, Luwei
Subject: Re: [Qemu-stable] [Qemu-devel] [PATCH] i386: mark the 'INTEL_PT' CPUID bit as unmigratable
Date: Tue, 25 Dec 2018 08:23:49 +0000

> From: Qemu-devel [mailto:address@hidden On Behalf Of Paolo Bonzini
> Sent: Friday, December 21, 2018 8:44 PM
> To: address@hidden
> Cc: address@hidden; address@hidden
> 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 <address@hidden>
    Date:   Mon Mar 5 00:48:36 2018 +0800
    i386: Add support to get/set/migrate Intel Processor Trace feature

Thanks,
Luwei Kang

> 
> Cc: address@hidden
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>  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

[Prev in Thread] Current Thread [Next in Thread]