diff options
author | yjiang5@vtsmp-build32.sh.intel.com <yjiang5@vtsmp-build32.sh.intel.com> | 2005-09-28 14:06:41 +0100 |
---|---|---|
committer | yjiang5@vtsmp-build32.sh.intel.com <yjiang5@vtsmp-build32.sh.intel.com> | 2005-09-28 14:06:41 +0100 |
commit | ba17dc3655b24a15328394719a1b2fa73b179743 (patch) | |
tree | 77392696614ccd8aac0675222dc558300b6790da | |
parent | ae4846b8e4bd318add3553996dddd1b1ec0148f8 (diff) | |
download | xen-ba17dc3655b24a15328394719a1b2fa73b179743.tar.gz xen-ba17dc3655b24a15328394719a1b2fa73b179743.tar.bz2 xen-ba17dc3655b24a15328394719a1b2fa73b179743.zip |
Save immediate operand into mcip structure.
Some opcode like and/or need the immediate info when return from DM, we should save it before sending io request.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
-rw-r--r-- | xen/arch/x86/vmx_platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/x86/vmx_platform.c b/xen/arch/x86/vmx_platform.c index 8052b1c7cd..3e805cac8c 100644 --- a/xen/arch/x86/vmx_platform.c +++ b/xen/arch/x86/vmx_platform.c @@ -667,6 +667,7 @@ static void mmio_operands(int type, unsigned long gpa, struct instruction *inst, mpcip->instr = inst->instr; mpcip->operand[0] = inst->operand[0]; /* source */ mpcip->operand[1] = inst->operand[1]; /* destination */ + mpcip->immediate = inst->immediate; if (inst->operand[0] & REGISTER) { /* dest is memory */ index = operand_index(inst->operand[0]); |