summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-09-30 12:36:26 -0700
committerSean Christopherson <seanjc@google.com>2026-09-30 14:22:23 -0700
commit7b88577a0983af221a78fc66c56532eb97d8fd2f (patch)
tree1897336ac68a31b92b6e28f789cef912e818cf07 /scripts/basic
parent28bb033664eef3c18c6acb2c075fc01d7ada9296 (diff)
downloadlinux-7b88577a0983af221a78fc66c56532eb97d8fd2f.tar.gz
linux-7b88577a0983af221a78fc66c56532eb97d8fd2f.zip
KVM: x86: Force fixed-1 bits in DR6 after synchronizing with hardware
Set all fixed-1 bits in KVM's version of DR6 after synchronizing with hardware to paper over as much of the virtualization hole as possible. Because KVM dynamically disables DR interception, a guest can write any DR6 bit that isn't fixed in bare metal, even if the bit is supposed to be fixed from the guest's perspective. In addition to providing some amount of consistency in KVM, this will allow adding sanity checks that KVM never ends up with fixed-1 bits clear in its version of DR6. Link: https://patch.msgid.link/20260930193634.3415089-5-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions