virttest.virsh: Add inject-nmi function.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>
Merge pull request #1551 from yumingfei/inject_nmi

virttest.virsh: Add inject-nmi function.