commit | d09beabd7cd4cf70d982ff54656dc6431df80fa4 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Mon Apr 04 12:39:25 2011 +0200 |
committer | Avi Kivity <avi@redhat.com> | Wed May 11 07:57:01 2011 -0400 |
tree | bfb3d5996f6d2b51d79e0ccc543cbe63d9eaba01 | |
parent | 775fde8648ebc588d07de39457aadc7c2131df2e [diff] |
KVM: x86 emulator: Add check_perm callback This patch adds a check_perm callback for each opcode into the instruction emulator. This will be used to do all necessary permission checks on instructions before checking whether they are intercepted or not. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>