Error handling: Use TFR() macro where applicable
Look for code that checks for errno == EINTR. If the code is simply doing something like:
do {
x = expr();
} while (x == -1 && errno == EINTR);
you can replace the surrounding loop with the TFR() macro from include/qemu-common.h instead.