Add cases for disk xml options.

I prefer to separate this combination to a function to make it clear~