Aurelien Jarno wrote:
> Ok, next try. This time I have opened the IA32 manual (I should have
> done that before), so I hope it is correct.
>
>
> KVM: Access registers for instructions with ModR/M byte and Mod = 3
>
> The patch belows changes the access type to register from memory for 
> instructions that are declared as SrcMem or DstMem, but have a 
> ModR/M byte with Mod = 3.
>
> It fixes (at least) the lmsw and smsw instructions on an AMD64 CPU,
> which are needed for FreeBSD.
>
>   

Applied, thanks.

We probably want to move modrm decoding to create a 'modrm_operand' of 
type 'struct operand' and then simply copy that into c->src or c->dst as 
needed.


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
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

Reply via email to