Declare an enumeration for all netdev client types, values
matching indexes in the net_client_types array. Use the
enum helpers for the string - int conversion of client types.
Before:
$ qemu -net type=foo,sfs
qemu: -net type=foo,sfs: Parameter 'type' expects a network client type
After:
On 06/07/2010 09:42 AM, Daniel P. Berrange wrote:
Declare an enumeration for all netdev client types, values
matching indexes in the net_client_types array. Use the
enum helpers for the string- int conversion of client types.
Before:
$ qemu -net type=foo,sfs
qemu: -net type=foo,sfs:
On Mon, Jun 07, 2010 at 10:09:02AM -0500, Anthony Liguori wrote:
On 06/07/2010 09:42 AM, Daniel P. Berrange wrote:
Declare an enumeration for all netdev client types, values
matching indexes in the net_client_types array. Use the
enum helpers for the string- int conversion of client types.