diff options
| author | Sean Christopherson <[email protected]> | 2025-03-15 02:41:02 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2025-04-04 11:07:40 +0000 |
| commit | bc52ae0a708cb6fa3926d11c88e3c55e1171b4a1 (patch) | |
| tree | dab9abc8ab78ef2f0bb078dea9b74e875af3c1ec /rust/helpers/workqueue.c | |
| parent | KVM: Allow building irqbypass.ko as as module when kvm.ko is a module (diff) | |
| download | kernel-bc52ae0a708cb6fa3926d11c88e3c55e1171b4a1.tar.gz kernel-bc52ae0a708cb6fa3926d11c88e3c55e1171b4a1.zip | |
KVM: x86: Explicitly zero-initialize on-stack CPUID unions
Explicitly zero/empty-initialize the unions used for PMU related CPUID
entries, instead of manually zeroing all fields (hopefully), or in the
case of 0x80000022, relying on the compiler to clobber the uninitialized
bitfields.
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Message-ID: <[email protected]>
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
