aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2018-10-23 16:31:38 +0200
committerRadim Krčmář <rkrcmar@redhat.com>2018-10-23 16:34:59 +0200
commitf9dcf08e2017cad12d771cdd862c8c314b885615 (patch)
tree1f84c5fe04a1dd5ca9bd0b9ed64f29d532d71e09 /arch/x86/kvm/vmx.c
parentMerge tag 'kvm-ppc-next-4.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc into HEAD (diff)
downloadlinux-dev-f9dcf08e2017cad12d771cdd862c8c314b885615.tar.xz
linux-dev-f9dcf08e2017cad12d771cdd862c8c314b885615.zip
Revert "kvm: x86: optimize dr6 restore"
This reverts commit 0e0a53c551317654e2d7885fdfd23299fee99b6b. As Christian Ehrhardt noted: The most common case is that vcpu->arch.dr6 and the host's %dr6 value are not related at all because ->switch_db_regs is zero. To do this all correctly, we must handle the case where the guest leaves an arbitrary unused value in vcpu->arch.dr6 before disabling breakpoints again. However, this means that vcpu->arch.dr6 is not suitable to detect the need for a %dr6 clear. Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
0 files changed, 0 insertions, 0 deletions