KVM; SVM: Add correct handling of nested iopm
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 1 Mar 2010 14:34:39 +0000 (15:34 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:15:15 +0000 (12:15 +0300)
commitce2ac085ff1500aad157cabd8221b7c38eb751bd
tree1058629ddd4dcdfe268b007d3c83bde8423e83a3
parent0d6b35378e80c555e20ca3aa3d3cc609b403cbb6
KVM; SVM: Add correct handling of nested iopm

This patch adds the correct handling of the nested io
permission bitmap. Old behavior was to not lookup the port
in the iopm but only reinject an io intercept to the guest.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c