Boot order check

This patch mainly fix the problem that serial console output include some special code problem. With the special codes the scripts will can not check the boot order of boot status from serial console output by re. 

It also fix the boot order check not support qmp monitor output when get pci informations.