diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2010-02-24 18:59:18 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-04-25 13:53:23 +0300 |
commit | 7f5d8b5600b5294137886b46bf00ef811d0fdf32 (patch) | |
tree | 8eb3d48b169c0c642014eeff3255f785cfa300ab /virt | |
parent | b44ea385d8cb187e04ec8d901d4c320c8b07c40b (diff) | |
download | op-kernel-dev-7f5d8b5600b5294137886b46bf00ef811d0fdf32.zip op-kernel-dev-7f5d8b5600b5294137886b46bf00ef811d0fdf32.tar.gz |
KVM: SVM: Handle nested selective_cr0 intercept correctly
If we have the following situation with nested svm:
1. Host KVM intercepts cr0 writes
2. Guest hypervisor intercepts only selective cr0 writes
Then we get an cr0 write intercept which is handled on the
host. But that intercepts may actually be a selective cr0
intercept for the guest. This patch checks for this
condition and injects a selective cr0 intercept if needed.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions