commit | fb32b1eda29f2040148b0e172f9cbbd2f07697e4 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi.kivity@gmail.com> | Sat Feb 09 11:31:44 2013 +0200 |
committer | Gleb Natapov <gleb@redhat.com> | Tue May 21 15:43:14 2013 +0300 |
tree | ce1844ae8998f70fa0bae623fd44cd793fdb28c1 | |
parent | f8b5ff2cff232df052955ef975f7219e1faa217f [diff] |
KVM: x86 emulator: add support for writing back the source operand Some instructions write back the source operand, not just the destination. Add support for doing this via the decode flags. Gleb: add BUG_ON() to prevent source to be memory operand. Signed-off-by: Avi Kivity <avi.kivity@gmail.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>