qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH V2 0/4] machine: QemuOpts per machine


From: Michael Roth
Subject: Re: [Qemu-devel] [PATCH V2 0/4] machine: QemuOpts per machine
Date: Mon, 26 May 2014 13:28:53 -0500
User-agent: alot/0.3.4

Quoting Andreas Färber (2014-05-26 11:42:45)
> Am 26.05.2014 14:48, schrieb Michael S. Tsirkin:
> > On Mon, May 26, 2014 at 03:40:54PM +0300, Marcel Apfelbaum wrote:
> >> V1 -> V2:
> >>  - Rebased on qom-next queue. 
> >>  - Patch 1/4:
> >>    - Since there are a lot of discussions on the correct
> >>      way to do the fix, added a FIXME comment to find a better way.
> >>  - Patch 2/4:
> >>    - Addressed Michael Roth's comments:
> >>      - Added output visitor test
> >>      - Tweaked it as advised
> >>  - Patch 4/4
> >>    - Addressed Andreas Farber's comments:
> >>      - Renamed machine_state -> ms to conform with the other patches
> 
> In the other one it's "machine" now, but I agree that "ms" is
> sufficiently understandable in machine.c. :)
> 
> >>    - Solved an issue discovered with make check:
> >>      - Updated machine->kernel_cmdline to be an empty string
> >>        if no string was supplied by the user.
> >>  - All other comments were addressed in the mail thread (I hope...)
> > 
> > 
> > For series:
> > 
> > Acked-by: Michael S. Tsirkin <address@hidden>
> 
> I have them queued on qom-next, but giving mdroth a chance to ack/nack
> the QAPI bits. I believe all his comments are addressed now, save for
> deeper investigations with armbru that I hope can be done as follow-up.

Acked-by: Michael Roth <address@hidden>

It's unclear to me why property_get_str skips the visitor call if the string    
        
is NULL (thus leading to the segfault we're fixing in patch 1), but we should
have a general way to deal with an empty QmpOutputVisitor, and the approach
in patch 1 seems sane.

> 
> https://github.com/afaerber/qemu-cpu/commits/qom-next
> 
> Still build-testing on BSD.
> 
> Regards,
> Andreas
> 
> -- 
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg




reply via email to

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