(big) real mode emulation - mul instruction from group 3
PATCH 1/1 (big) real mode emulation - mul instruction from group 3
Hi Avi,
Attached is the patch to implement mul instruction from the group 3
opcodes.
Please Apply.
Signature · 5 lines
Thanks & Regards, Nitin Open Source Technology Center, Intel Corporation ----------------------------------------------------------------- The mind is like a parachute; it works much better when it's open
From 3acea06771569a4018b4ac998797b529ba75a795 Mon Sep 17 00:00:00 2001
From: Nitin A Kamble <[email protected]>
Date: Tue, 30 Oct 2007 18:28:40 -0800
Subject: [PATCH] [PATCH] Implement multipy instruction from the group 3.
--- drivers/kvm/x86_emulate.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/kvm/x86_emulate.c +2 -0
@@ -1034,6 +1034,8 @@ static inline int emulate_grp3(struct x86_emulate_ctxt *ctxt,case 3 :/* neg */ emulate_1op ("neg" , c->dst, ctxt->eflags);break ; +case 4 :/* mul */ +emulate_1op ("mul" , c->dst, ctxt->eflags);default :DPRINTF ("Cannot emulate %02x\n" , c->b); rc =X86EMUL_UNHANDLEABLE ;
Signature · 1 line
1.5.2.2
-------------------------------------------------------------------------
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
Quoted 17 lines · Nitin A Kamble
Hi Avi,
Attached is the patch to implement mul instruction from the group 3
opcodes.drivers/kvm/x86_emulate.c +2
-0@@ -1034,6 +1034,8 @@ static inline int emulate_grp3(structx86_emulate_ctxt *ctxt, case 3: /* neg */ emulate_1op("neg", c->dst, ctxt->eflags);break ; +case 4 :/* mul */ +emulate_1op ("mul" , c->dst, ctxt->eflags);default :DPRINTF ("Cannot emulate %02x\n" , c->b);
Quoted 1 line
rc = X86EMUL_UNHANDLEABLE;
This is missing a "break;".
How are you testing these patches?
Signature · 8 lines
Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- 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/
Quoted 1 line · Avi Kivity
This is missing a "break;".
Hi Avi,
You are right. The break statement should be there. It was my mistake
while getting the patch out from the test tree to the push tree. Even if it is a small patch I should not retype it.
Quoted 2 lines
How are you testing these patches?
I am running SL101 guest through my test tree. In my test tree the patch is good, it was the bug introduced while copying.
Signature · 5 lines
Thanks & Regards, Nitin Open Source Technology Center, Intel Corporation ----------------------------------------------------------------- The mind is like a parachute; it works much better when it's open
-------------------------------------------------------------------------
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel