[libvirt] [PATCH] Report error when parsing character device target type

2012-05-09 Thread Jim Fehlig
No useful error was being reported when an invalid character device target type is specified in the domainXML. E.g. ... console type=pty source path=/dev/pts/2/ target type=kvm port=0/ /console ... resulted in error: Failed to define domain from x.xml error: An error

Re: [libvirt] [PATCH] Report error when parsing character device target type

2012-05-09 Thread Eric Blake
On 05/09/2012 11:48 AM, Jim Fehlig wrote: No useful error was being reported when an invalid character device target type is specified in the domainXML. E.g. ... console type=pty source path=/dev/pts/2/ target type=kvm port=0/ /console ... resulted in

Re: [libvirt] [PATCH] Report error when parsing character device target type

2012-05-09 Thread Jim Fehlig
Eric Blake wrote: On 05/09/2012 11:48 AM, Jim Fehlig wrote: No useful error was being reported when an invalid character device target type is specified in the domainXML. E.g. ... console type=pty source path=/dev/pts/2/ target type=kvm port=0/ /console