]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domain: conf: Better errors on bad os <type> values
authorCole Robinson <crobinso@redhat.com>
Thu, 16 Apr 2015 22:08:17 +0000 (18:08 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 20 Apr 2015 20:35:29 +0000 (16:35 -0400)
commit3700c065cde30ff3f70cc3a029279c79c2337a54
tree788121976f0ec6ac23c53b8a9cebec26096af50e
parent6b7b677a0ece4e1c52e208949f366d42e3d4acc7
domain: conf: Better errors on bad os <type> values

If no <os><type> was specified:
  before: unknown OS type no OS type
  after : xml error: an os <type> must be specified

If an <os><type> is specified that's not in our capabiliities data:
  before: unknown OS type: $type
  after : unsupported configuration: no support found for os <type> '$type'

VIR_ERR_OS_TYPE is now unused (as it should be frankly) so drop its strings
as well to save our translators some effort.
src/conf/domain_conf.c