[libvirt] Fix qemudParseVMDeviceDef() to check for proper network device tag name

Dan Smith danms at us.ibm.com
Fri Jun 13 17:46:45 UTC 2008

KR> I originally thought I wasn't formatting the XML properly. Once I
KR> looked at the code, I realized that the action wasn't supported.
KR> So, this change just saves some potential confusion.

It also helps generalized layers above libvirt handle the error.  In
the CIM providers, we can ignore (or handle) "not supported" properly,
but "XML not well-formed" is a more fatal error, indicating a problem
with the providers.  The fewer this-is-kvm-so-only-cdroms-are-dynamic
special cases we have, the better :)

Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080613/0f64c4e1/attachment-0001.sig>

More information about the libvir-list mailing list