larsks/virt-utils — pull request #1 by awood (2013-12-03 00:16:31+00:00)
Title: XMLDesc requires a flags parameter

XMLDesc uses the VIR_DOMAIN_XML_* flags, but in this case we don't want to use any of the flags, so we pass in 0.

Without using the flags parameter, the following traceback is thrown:
```
Traceback (most recent call last):
File "/tmp/virt-hosts", line 82, in
main()
File "/tmp/virt-hosts", line 53, in main
desc = etree.fromstring(dom.XMLDesc())
TypeError: XMLDesc() takes exactly 2 arguments (1 given)
```