kvm: Correctly handle the return value from handleIpr(Read|Write)
authorAndreas Sandberg <andreas@sandberg.pp.se>
Thu, 19 Sep 2013 15:55:04 +0000 (17:55 +0200)
committerAndreas Sandberg <andreas@sandberg.pp.se>
Thu, 19 Sep 2013 15:55:04 +0000 (17:55 +0200)
commitcd9cd85ce9b0f3905ecfcd843d128b0fd754871c
tree5d8ea9adf20c22c91eaa5c21f55776fb45570e69
parent211c10b46d9773fb9aacb0a85b641df6434ce475
kvm: Correctly handle the return value from handleIpr(Read|Write)

The KVM base class incorrectly assumed that handleIprRead and
handleIprWrite both return ticks. This is not the case, instead they
return cycles. This changeset converts the returned cycles to ticks
when handling IPR accesses.
src/cpu/kvm/base.cc