Re: [Qemu-devel] [PATCH 03/19] Add enum handlers for easy efficient string - int conversion

2010-06-26 Thread Markus Armbruster
Daniel P. Berrange berra...@redhat.com writes: There is quite alot of code using an enumeration of possible values, which also needs todo conversions to/from a string representation of enum values. These string - int conversions have been repeated in an adhoc manner throughout the code.

Re: [Qemu-devel] [PATCH 03/19] Add enum handlers for easy efficient string - int conversion

2010-06-09 Thread Luiz Capitulino
On Mon, 7 Jun 2010 15:42:16 +0100 Daniel P. Berrange berra...@redhat.com wrote: There is quite alot of code using an enumeration of possible values, which also needs todo conversions to/from a string representation of enum values. These string - int conversions have been repeated in an adhoc