diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-09-30 12:36:27 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-30 14:22:24 -0700 |
| commit | c62ffee78db8837a6251af83798907af37b53ed4 (patch) | |
| tree | eb515d1a127c5faf64ed2916ab7b2e30b6988803 /scripts/basic/split-include.c | |
| parent | 7b88577a0983af221a78fc66c56532eb97d8fd2f (diff) | |
| download | linux-c62ffee78db8837a6251af83798907af37b53ed4.tar.gz linux-c62ffee78db8837a6251af83798907af37b53ed4.zip | |
KVM: x86: Set guest's fixed-1 DR6 bits when delivering #DB payload
When delivering a #DB payload, set all DR6 bits that are fixed-1 from the
guest's perspective, not just the host's perspective. Don't WARN on a
"bad" payload (or existing DR6) even though KVM itself shouldn't set DR6
or synthesize a payload without the fixed-1 bits set, as userspace can
provide a completely arbitrary payload via KVM_SET_VCPU_EVENTS (and
"hardening" that flow is not worth the effort as there's no benefit in
practice).
Link: https://patch.msgid.link/20260930193634.3415089-6-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
