@Guannan-Ren I did not use this command before, but I get the info from virsh help:
```save-image-define <file> [--xml <string>] [--running] [--paused]```
It seems the xmlfile is optional, right? so can we set a default value for it in this function? such as xmlfile="".