diff options
author | Avi Kivity <avi@qumranet.com> | 2007-03-14 15:54:54 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-05-03 10:52:32 +0300 |
commit | e7df56e4a00358b6975fae3b70dc9df1282d427a (patch) | |
tree | 76a19e32d603dcc0936313fbb9e5a1de759a159d /drivers/rapidio | |
parent | 94dfbdb3894eda2f673b70e20da2743c4a8d3968 (diff) |
KVM: Remove extraneous guest entry on mmio read
When emulating an mmio read, we actually emulate twice: once to determine
the physical address of the mmio, and, after we've exited to userspace to
get the mmio value, we emulate again to place the value in the result
register and update any flags.
But we don't really need to enter the guest again for that, only to take
an immediate vmexit. So, if we detect that we're doing an mmio read,
emulate a single instruction before entering the guest again.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions