]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Use virDomainChrTypeFromString() instead of open coding
authorMark McLoughlin <markmc@redhat.com>
Fri, 10 Jul 2009 08:33:34 +0000 (09:33 +0100)
committerMark McLoughlin <markmc@redhat.com>
Fri, 10 Jul 2009 08:33:34 +0000 (09:33 +0100)
commit13709bdbf8c963b797271bbeee51c866d0accab1
tree5125f5d8360a9aafddd4b54d7962f9f91243a8f2
parent62455ed872d3e1c6e96a09f7d968e7cbcf27b731
Use virDomainChrTypeFromString() instead of open coding

* src/domain_conf.c: replace open coded chr type parsing with
  virDomainChrTypeFromString(), retaining the existing semantics
  where unknown types are silently mapped to the "null" type and
  "pty" is used if none is specified
src/domain_conf.c