
10 Jan
2011
10 Jan
'11
6:30 p.m.
On 01/09/2011 04:18 AM, Osier Yang wrote:
If invalid type is specified, e.g. <serial type='foo'> <target port='0'/> </serial>
We replace 'foo' with "null" type implicitly, without reporting an error message to tell the user, and "start" or "edit" the domain will be success.
It's not good to guess what the user wants, This patch is to fix the problem.
* src/conf/domain_conf.c
ACK, and pushed (by the way, I noticed the same problem while working on my <smartcard> XML patches, but you posted first). -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org