]> xenbits.xensource.com Git - libvirt.git/commit
conf: Fix XML generation for smartcards
authorJiri Denemark <jdenemar@redhat.com>
Mon, 14 Feb 2011 10:49:28 +0000 (11:49 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 14 Feb 2011 18:42:29 +0000 (19:42 +0100)
commitf7bec64913d47bab458631f4a186c7f5605ae660
tree2a198ae3e698dc7cc7ca0de720d96fa08444e2ed
parent41f551e25eaaf6a978ffcf4edd1e441a4fb96cd9
conf: Fix XML generation for smartcards

When formatting XML for smartcard device with mode=host, libvirt
generates invalid XML if the device has address info associated:

<smartcard mode='host' <address type='ccid' controller='0' slot='1'/>
src/conf/domain_conf.c