commit | f20d2752980c144c82649eb18746ef0c29f508dd | [log] [tgz] |
---|---|---|
author | Jes Sorensen <jes@sgi.com> | Tue May 20 13:13:50 2008 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Fri Jun 06 21:08:25 2008 +0300 |
tree | c80876c536a9f26cb4147202cbbab9f1bd4862a6 | |
parent | 39b945a37bac2b692773a470890c8ba301485b15 [diff] |
KVM: ia64: fix zero extending for mmio ld1/2/4 emulation in KVM Only copy in the data actually requested by the instruction emulation and zero pad the destination register first. This avoids the problem where emulated mmio access got garbled data from ld2.acq instructions in the vga console driver. Signed-off-by: Jes Sorensen <jes@sgi.com> Acked-by: Xiantao Zhang <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>