Oh, yes, my mistake. I did not realize that virsh desc command can used to show or modify the title of a domain. So I got the test point of view here. 

About your patch here, yes, it looks good to me. 

Ack