KVM: x86 emulator: put register operand write back to a function
commit31be40b3985f09c0c89b9e28a8206df32adba842
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 17 Aug 2010 01:17:30 +0000 (17 09:17 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:06 +0000 (24 10:51 +0200)
treee111e9c112a62f5c9225c51b17dd062ad4f7e47e
parent646bab55a278ceb1cf43b1f80d3dd468be62a421
KVM: x86 emulator: put register operand write back to a function

Introduce function write_register_operand() to write back the
register operand.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c