On Wed, Jan 2, 2019 at 11:16 PM Wei Wang <wei.w.wang@xxxxxxxxx> wrote:
On 01/03/2019 07:26 AM, Jim Mattson wrote:Yes, but then what happens?
On Wed, Dec 26, 2018 at 2:01 AM Wei Wang <wei.w.wang@xxxxxxxxx> wrote:This feature is gated by the QEMU "lbr=true" option.
The lbr stack is architecturally specific, for example, SKX has 32 lbrHow do you handle live migration?
stack entries while HSW has 16 entries, so a HSW guest running on a SKX
machine may not get accurate perf results. Currently, we forbid the
guest lbr enabling when the guest and host see different lbr stack
entries.
So if the lbr fails to work on the destination machine,
the destination side QEMU wouldn't be able to boot,
and migration will not happen.
Fast forward to, say, 2021. You're decommissioning all Broadwell
servers in your data center. You have to migrate the running VMs off
of those Broadwell systems onto newer hardware. But, with the current
implementation, the migration cannot happen. So, what do you do? I
suppose you just never enable the feature in the first place. Right?