libvirt: Modify test-example for mathine type

Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com>