Re: [PATCH v3 02/12] KVM: x86: Move VMware backdoor support to separate files
From: Jim Mattson
Date: Wed Nov 11 2026 - 19:14:41 EST
On Tue, Nov 10, 2026 at 10:02 PM Zack Rusin <zack.rusin@xxxxxxxxxxxx> wrote:
>
> Move the enable_vmware_backdoor module parameter, the VMware backdoor
> port and pseudo-PMC definitions, and the VMware pseudo-PMC and opcode
> helpers out of x86.c, emulate.c and pmu.{c,h} into new vmware.{c,h}
> files, and add a MAINTAINERS entry for the new files.
>
> KVM's VMware emulation is spread across the emulator, the PMU code and
> x86.c, and both vendor modules read the module parameter directly. The
> following patches make the VMware interfaces a per-VM setting, add a
> userspace exit for VMware hypercalls and allow compiling the emulation
> out. Collect the code in one place first, as KVM already does for
> Hyper-V and Xen emulation, so that those changes stay local and the
> code movement can be reviewed on its own.
>
> No functional change intended.
>
> Link: https://lore.kernel.org/r/aIEgVpjXDR0BXgHq@xxxxxxxxxx
> Link: https://lore.kernel.org/r/aIEwOToiAkKfQA-4@xxxxxxxxxx
> Signed-off-by: Zack Rusin <zack.rusin@xxxxxxxxxxxx>
Reviewed-by: Jim Mattson <jmattson@xxxxxxxxxx>