Avi Kivity wrote: > Yang, Sheng wrote: >>>> Another thing, if we can use physical address as supplement of cr2 in >>>> emulate_instrcutions, that will be better. Any suggestion? >>>> >>>> >>> Sorry, I don't understand the question. >>> >>> I'd like to see cr2 completely removed from x86_emulate.c. >>> >> >> Do you mean complete decode out gva instead of using cr2? >> > > Yes. As I meantioned, for most instructions this is already done due to > (a) cr2 being unreliable (b) cr2 being unavailable during real mode > emulation.
I agreed, and interested in it. But I don't know if I have enough time to do this. I can take this, but you may wait a little long time. :) BTW: I've checked the instructions which need decode operand. Your are right, and to be exactly, that's two kind of "mov"(0xa1 and 0xa3). :) Thanks Yang, Sheng ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel