lkml.org 
[lkml]   [2022]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4] KVM: x86: lapic: don't allow to set non default apic id when not using x2apic api
On Thu, Mar 03, 2022, Sean Christopherson wrote:
> With your proposed change, KVM_SET_LAPIC will fail and we've broken a functional,
> if sketchy, setup. Is there likely to be such a real-world setup that doesn't
> barf on the inconsistent x2APIC ID? Probably not, but I don't see any reason to
> find out.

I take back the "probably not", this isn't even all that contrived. Prior to the
"migration", the guest will see a consistent x2APIC ID. It's not hard to imagine
a guest that snapshots the ID and never re-reads the value from "hardware".

\
 
 \ /
  Last update: 2022-03-03 20:50    [W:0.085 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site