Re: [Qemu-devel] [PATCH 01/20] qdev: add print_options callback

2011-02-03 Thread Alon Levy
On Thu, Feb 03, 2011 at 10:39:40AM -0600, Anthony Liguori wrote: > On 02/02/2011 02:28 PM, Alon Levy wrote: > >another callback added to PropertyInfo, for later use by PROP_TYPE_ENUM. > >Allows printing of runtime computed options when doing: > > qemu -device foo,? > >--- > > hw/qdev.c | 10 +++

Re: [Qemu-devel] [PATCH 01/20] qdev: add print_options callback

2011-02-03 Thread Anthony Liguori
On 02/02/2011 02:28 PM, Alon Levy wrote: another callback added to PropertyInfo, for later use by PROP_TYPE_ENUM. Allows printing of runtime computed options when doing: qemu -device foo,? --- hw/qdev.c | 10 +- hw/qdev.h |1 + 2 files changed, 10 insertions(+), 1 deletions(-)

Re: [Qemu-devel] [PATCH 01/20] qdev: add print_options callback

2011-02-03 Thread Alon Levy
Please ignore, duplicate of 01/20 already on the list. It took so long for 01/20 to appear on the list that I thought it was lost. Alon On Wed, Feb 02, 2011 at 11:46:07PM +0200, Alon Levy wrote: > another callback added to PropertyInfo, for later use by PROP_TYPE_ENUM. > Allows printing of runtim

[Qemu-devel] [PATCH 01/20] qdev: add print_options callback

2011-02-02 Thread Alon Levy
another callback added to PropertyInfo, for later use by PROP_TYPE_ENUM. Allows printing of runtime computed options when doing: qemu -device foo,? --- hw/qdev.c | 10 +- hw/qdev.h |1 + 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index c7fe

[Qemu-devel] [PATCH 01/20] qdev: add print_options callback

2011-02-02 Thread Alon Levy
another callback added to PropertyInfo, for later use by PROP_TYPE_ENUM. Allows printing of runtime computed options when doing: qemu -device foo,? --- hw/qdev.c | 10 +- hw/qdev.h |1 + 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index c7fe