initial import from qemu 1.7.1
importing QTRACE changes to QEMU-TRACE