summaryrefslogtreecommitdiff
path: root/arch/mn10300/oprofile
diff options
context:
space:
mode:
authorNicholas Krause <xerofoify@gmail.com>2015-08-05 10:44:40 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2015-08-11 15:11:05 +0200
commit603242a88ac44771442b077e0c9cb4d3af2b796f (patch)
treeb913214c14c5f7f4214c717132606201d4bcc3bb /arch/mn10300/oprofile
parentf735d4af4b0ec3d87885710adf18b077480e7b19 (diff)
kvm: x86: Fix error handling in the function kvm_lapic_sync_from_vapic
This fixes error handling in the function kvm_lapic_sync_from_vapic by checking if the call to kvm_read_guest_cached has returned a error code to signal to its caller the call to this function has failed and due to this we must immediately return to the caller of kvm_lapic_sync_from_vapic to avoid incorrectly call apic_set_tpc if a error has occurred here. Signed-off-by: Nicholas Krause <xerofoify@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/mn10300/oprofile')
0 files changed, 0 insertions, 0 deletions