Add attach_disk and dettach_disk in VM class.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
Add a method named 'sync' to VMXML class.

Lots of times to call vmxml.undefine() and vmxml.define(), to
make our config in vmxml take effect in vm.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
Add test for svirt attach disk.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>
update svirt_attach_detach_disk test script.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
fix sync method to restore if define() fail.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Update the VM attach_disk and detach_disk method.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>