Qemu monitor

This patch set include two new function for monitor command  and some bug fix.