commit | 977b2d03e42e9ea9355d4baddb464810579719bd | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Mon Apr 18 11:42:52 2011 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed May 11 07:57:10 2011 -0400 |
tree | 2385608edeb1be8c4f1903b5cc02dc8093a0ca86 | |
parent | 0521e4c0bc73aa86152ee4e4bd03724c8a9e1d6b [diff] |
KVM: SVM: Fix nested sel_cr0 intercept path with decode-assists This patch fixes a bug in the nested-svm path when decode-assists is available on the machine. After a selective-cr0 intercept is detected the rip is advanced unconditionally. This causes the l1-guest to continue running with an l2-rip. This bug was with the sel_cr0 unit-test on decode-assists capable hardware. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>