qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Live migration regarding Intel PT
@ 2021-08-25  6:59 Xiaoyao Li
  2021-08-25 20:48 ` Eduardo Habkost
  0 siblings, 1 reply; 4+ messages in thread
From: Xiaoyao Li @ 2021-08-25  6:59 UTC (permalink / raw)
  To: Eduardo Habkost; +Cc: Paolo Bonzini, qemu-devel@nongnu.org, Chao Peng

Hi Eduardo,

I have some question regrading Intel PT live migration.

Commit "e37a5c7fa459 (i386: Add Intel Processor Trace feature support)" 
expose Intel PT with a fixed capabilities of CPUID 0x14 for live 
migration. And the fixed capabilities are the value reported on 
ICX(IceLake). However, the upcoming SPR(Sapphire Rapids) has less 
capabilities of INTEL_PT_CYCLE_BITMAP than ICX. It fails to enable PT in 
guest on SPR machine.

If change the check on INTEL_PT_CYCLE_BITMAP to allow different value to 
allow it work on SPR. I think it breaks live migration, right?

For me, not making each sub-function of PT as configurable in QEMU 
indeed makes it hard for live migration. Why not make PT as unmigratable 
in the first place when introducing the support in QEMU?

Thanks,
-Xiaoyao


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-26 18:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-25  6:59 Live migration regarding Intel PT Xiaoyao Li
2021-08-25 20:48 ` Eduardo Habkost
2021-08-26  2:16   ` Xiaoyao Li
2021-08-26 15:14     ` Eduardo Habkost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).