]> git.ipfire.org Git - thirdparty/libvirt.git/commit
VMware: Convert driver type defines to enum
authorDoug Goldstein <cardoe@cardoe.com>
Sat, 14 Sep 2013 04:28:30 +0000 (23:28 -0500)
committerDoug Goldstein <cardoe@cardoe.com>
Fri, 20 Sep 2013 13:23:31 +0000 (08:23 -0500)
commitea5805ed29663907232cec4e6bebc90fee32d885
tree68e783985b79dc985bfdf6ce42dd3608762462db
parent5b36ab900ad43226ce3bf27a55a2a3714df188fb
VMware: Convert driver type defines to enum

The VMware driver supports multiple backends for the VMware Player and
VMware Workstation, convert this logic into enum and use VIR_ENUM_IMPL()
to provide conversions to and from strings.
src/vmware/vmware_conf.c
src/vmware/vmware_conf.h
src/vmware/vmware_driver.c