On Thu, 27 Jun 2013 16:22:07 +0200
Markus Armbruster <arm...@redhat.com> wrote:

> Any attempt to use it trips an "opt->desc->type == QEMU_OPT_NUMBER"
> assertion.  Broken in commit 1da48c65.
> 
> Cc: qemu-sta...@nongnu.org
> Signed-off-by: Markus Armbruster <arm...@redhat.com>

Applied to the qmp branch, thanks.

> ---
>  qemu-char.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/qemu-char.c b/qemu-char.c
> index 63972ae..63a9221 100644
> --- a/qemu-char.c
> +++ b/qemu-char.c
> @@ -3108,7 +3108,7 @@ static void qemu_chr_parse_memory(QemuOpts *opts, 
> ChardevBackend *backend,
>  
>      backend->memory = g_new0(ChardevMemory, 1);
>  
> -    val = qemu_opt_get_number(opts, "size", 0);
> +    val = qemu_opt_get_size(opts, "size", 0);
>      if (val != 0) {
>          backend->memory->has_size = true;
>          backend->memory->size = val;


Reply via email to