Il 09/06/2014 23:04, Bandan Das ha scritto:
A couple more updates to test_vmxon, test_vmptrld and test_vmclear based on kvm commits - 3573e22cfecaac83f82ef4f6847d90e466fc8e10 KVM: nVMX: additional checks on vmxon region 96ec146330d18a938b4773be8d6dd1f93399507c KVM: nVMX: fail on invalid vmclear/vmptrld pointer v2: - 1/3(New): Move the writing of flags register inside asm blocks Bandan Das (3): VMX: move write_rflags inside asm blocks for vmx instructions VMX: Add more checks to test_vmxon VMX: Updated test_vmclear and test_vmptrld lib/x86/processor.h | 7 --- x86/vmx.c | 121 +++++++++++++++++++++++++++++++++++++++++----------- x86/vmx.h | 10 ++++- 3 files changed, 103 insertions(+), 35 deletions(-)
Sooner or later, we probably want to return the flags so that you can test for CF=1 or ZF=1. For now, I've applied the patch. Thanks!
Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html