libvirt: Add test module for virsh update-device.

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