Re: [PATCH 3/3] KVM: VMX: Extend VMX's #AC interceptor to handle split lock #AC in guest
From: Steven Rostedt
Date: Thu Apr 02 2020 - 19:08:45 EST
On Thu, 2 Apr 2020 22:40:03 +0000
Nadav Amit <namit@xxxxxxxxxx> wrote:
> > On Apr 2, 2020, at 3:27 PM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> >
> > As I just verified, it's possible to load the vmware module parallel
> > to the KVM/VMX one.
> >
> > So either we deal with it in some way or just decide that SLD and HV
> > modules which do not have the MOD_INFO(sld_safe) magic cannot be loaded
> > when SLD is enabled on the host. I'm fine with the latter :)
> >
> > What a mess.
>
> [ +Doug ]
>
> Just to communicate the information that was given to me: we do intend to
> fix the SLD issue in VMware and if needed to release a minor version that
> addresses it. Having said that, there are other hypervisors, such as
> virtualbox or jailhouse, which would have a similar issue.
If we go the approach of not letting VM modules load if it doesn't have the
sld_safe flag set, how is this different than a VM module not loading due
to kabi breakage?
If we prevent it from loading (and keeping from having to go into this
inconsistent state that Thomas described), it would encourage people to get
the latest modules, and the maintainers of said modules motivation to
update them.
-- Steve