On 20.08.2014 14:11, Paolo Bonzini wrote:
Another patch...  I will post parts of it separately, if I am right
you should get 0xfe as the vector and a WARN from the gva_to_gpa function.
I confirm the vector is 0xfe, however I see no warnings from gva_to_gpa() - only from emulate_exception():

[ 3417.251967] ------------[ cut here ]------------
[ 3417.251983] WARNING: CPU: 1 PID: 1584 at 
/home/val/kvm-kmod/x86/emulate.c:4839 x86_emulate_insn+0xb33/0xb70 [kvm]()

I can see both warnings, if I move 'WARN(walker.fault.vector > 0x1f)' from gva_to_gpa() to gva_to_gpa_nested(), however:

[ 3841.420019] WARNING: CPU: 0 PID: 1945 at 
/home/val/kvm-kmod/x86/paging_tmpl.h:903 paging64_gva_to_gpa_nested+0xd1/0xe0 
[kvm]()
[ 3841.420457] WARNING: CPU: 0 PID: 1945 at 
/home/val/kvm-kmod/x86/emulate.c:4839 x86_emulate_insn+0xb33/0xb70 [kvm]()

Thanks,
Valentine
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to