qemu-stable
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-stable] [Qemu-devel] [PATCH v3] vl.c: fix regression when read


From: William Dauchy
Subject: Re: [Qemu-stable] [Qemu-devel] [PATCH v3] vl.c: fix regression when reading machine type from config file
Date: Wed, 7 Jan 2015 14:23:01 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Jan07 14:11, Marcel Apfelbaum wrote:
> After 'Machine as QOM' series the machine type input triggers
> the creation of the machine class.
> If the machine type is set in the configuration file, the machine
> class is not updated accordingly and remains the default.

I have also tested it; it does work.

Thanks,

> Fixed that by querying the machine options after the configuration
> file is loaded.
> 
> Cc: address@hidden
> Reported-by: William Dauchy <address@hidden>
> Signed-off-by: Marcel Apfelbaum <address@hidden>
> ---
> v2 -> v3:
>  - Addressed Paolo Bonzini's comments:
>    - fixed whitespace
> v1 -> v2:
>  - Addressed Paolo Bonzini's comments:
>    - moved the call to machine_parse after the switch
>      and brought QEMU_OPTION_M near QEMU_OPTION_machine
>   
>  vl.c | 15 ++++++++-------
>  1 file changed, 8 insertions(+), 7 deletions(-)
> 
-- 
William

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]