[libvirt] [PATCH] Use virDomainChrTypeFromString() instead of open coding
Daniel P. Berrange
berrange at redhat.com
Fri Jul 10 09:35:42 UTC 2009
On Fri, Jul 10, 2009 at 09:35:52AM +0100, Mark McLoughlin wrote:
> * 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 | 29 ++++-------------------------
> 1 files changed, 4 insertions(+), 25 deletions(-)
ACK
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list