libvirt: Modify test-example for machine type

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