Skip to contentSkip to conversation

kvm:x86:Fix error handling in the function ioapic_write_indirect

PATCH Paolo Bonzini 1 participant 1 message Aug 12, 2015 1 message not in the archive KVM

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Paolo Bonzini

author maintainer
#1 lore raw
Quoted 7 lines · Nicholas Krause

This fixes error handling in the function ioapic_write_indirect to properly check if the call to the function ioapoc_service service has failed by not returning the value zero to indicate success to check if this occurs when calling this particular function and if so return immediately to the caller of ioapic_write_indirect due to us no longer being able to continue the function ioapic_write_indirect after this call fails.

This is not true.

You are back to the older problem that you are not trying to understand the functions you are modifying.

Paolo