Re: [Qemu-devel] [PATCH V11 1/4] add def_value_str and use it in qemu_opts_print

2013-01-27 Thread Dong Xu Wang
于 2013-1-25 2:26, Markus Armbruster 写道: Dong Xu Wang wdon...@vnet.linux.ibm.com writes: qemu_opts_print has no user now, so can re-write the function safely. qemu_opts_print will be used while using qemu-img create, it will produce the same output as previous code. The behavior of this

[Qemu-devel] [PATCH V11 1/4] add def_value_str and use it in qemu_opts_print

2013-01-24 Thread Dong Xu Wang
qemu_opts_print has no user now, so can re-write the function safely. qemu_opts_print will be used while using qemu-img create, it will produce the same output as previous code. The behavior of this function has changed: 1. Print every possible option, whether a value has been set or not. 2.

Re: [Qemu-devel] [PATCH V11 1/4] add def_value_str and use it in qemu_opts_print

2013-01-24 Thread Markus Armbruster
Dong Xu Wang wdon...@vnet.linux.ibm.com writes: qemu_opts_print has no user now, so can re-write the function safely. qemu_opts_print will be used while using qemu-img create, it will produce the same output as previous code. The behavior of this function has changed: 1. Print every