utils_test.libvirt: Support discard for creating disk xml.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>