commit | d905c0693514e6f713b207377b67c9972c5d7d49 | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Sun Jun 24 19:25:00 2012 +0300 |
committer | Avi Kivity <avi@redhat.com> | Mon Jun 25 12:40:50 2012 +0300 |
tree | a5387b1ab6f44e06b2a7de5c1dca2811ce508f5e | |
parent | 5cfb1d5a65dd96d2d3a0751a1e4e81dc84c1f08f [diff] |
KVM: rearrange injection cancelling code Each time we need to cancel injection we invoke same code (cancel_injection callback). Move it towards the end of function using the familiar goto on error pattern. Will make it easier to do more cleanups for PV EOI. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>