Re: [Qemu-devel] [PATCH 0/3] qapi: introduce BlockJobType enum

2013-10-08 Thread Kevin Wolf
Am 08.10.2013 um 11:29 hat Fam Zheng geschrieben: > Currently, block job type is hard coded string and could be repeated in > different places in the code base. Introduce a enum type in QAPI to make it > better for maintenance and introspection. The old BlockJobType struct is > renamed to BlockJobD

[Qemu-devel] [PATCH 0/3] qapi: introduce BlockJobType enum

2013-10-08 Thread Fam Zheng
Currently, block job type is hard coded string and could be repeated in different places in the code base. Introduce a enum type in QAPI to make it better for maintenance and introspection. The old BlockJobType struct is renamed to BlockJobDriver and its field "job_type" becomes a BlockJobType enum