KVM: SVM: Check for asid != 0 on nested vmrun
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 2 Aug 2010 14:46:45 +0000 (16:46 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:32 +0000 (10:50 +0200)
commitdbe7758482a870f30a86bdeefebf4fc260afef11
tree72d6589e48193905a226175db42602d921f9a75a
parent52c65a30a5c6f31cd66dba57c22d18cafa5e327f
KVM: SVM: Check for asid != 0 on nested vmrun

This patch lets a nested vmrun fail if the L1 hypervisor
left the asid zero. This fixes the asid_zero unit test.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c