Re: [Qemu-devel] [RFC PATCH 0/9] qemu capabilities reporting and config changes

2012-03-20 Thread Gerd Hoffmann
Hi, I have a few patches here that convert almost every option that matters into QemuOpts so that -writeconfig records it: -m, -bios, -localtime, -S, -M, -smp, -numa, -nodefaults, -no-shutdown, -no-reboot. The only thing that is left basically is -display, where I chickened out. This

Re: [Qemu-devel] [RFC PATCH 0/9] qemu capabilities reporting and config changes

2012-03-20 Thread Eduardo Habkost
On Mon, Mar 19, 2012 at 05:09:57PM +0100, Paolo Bonzini wrote: Il 19/03/2012 16:09, Anthony Liguori ha scritto: [...] I would like to push this series into 1.1 I think it's too early. However, we can definitely apply 1/2/7/8/9 now. I like patch 3 a lot, too. It would open the door for

[Qemu-devel] [RFC PATCH 0/9] qemu capabilities reporting and config changes

2012-03-19 Thread Anthony Liguori
Hi, I didn't start out intending to write this series, but I end up here trying to resolve an issue in the gtk UI. This series does some dramatic refactoring to -readconfig essentially throwing away the existing (trivial) implementation and replacing it with glib's GKeyFile support. It also

Re: [Qemu-devel] [RFC PATCH 0/9] qemu capabilities reporting and config changes

2012-03-19 Thread Paolo Bonzini
Il 19/03/2012 16:09, Anthony Liguori ha scritto: Hi, I didn't start out intending to write this series, but I end up here trying to resolve an issue in the gtk UI. What issue? :) This series does some dramatic refactoring to -readconfig essentially throwing away the existing (trivial)

Re: [Qemu-devel] [RFC PATCH 0/9] qemu capabilities reporting and config changes

2012-03-19 Thread Paolo Bonzini
Il 19/03/2012 17:31, Anthony Liguori ha scritto: It also plumbs the existing command line options through QemuOpts via a special 'system' section. This means that any command line option can be specified via readconfig and that the combination of -nodefconfig and -writeconfig should give

Re: [Qemu-devel] [RFC PATCH 0/9] qemu capabilities reporting and config changes

2012-03-19 Thread Paolo Bonzini
Il 19/03/2012 17:41, Anthony Liguori ha scritto: On 03/19/2012 11:33 AM, Paolo Bonzini wrote: Il 19/03/2012 17:31, Anthony Liguori ha scritto: It also plumbs the existing command line options through QemuOpts via a special 'system' section. This means that any command line option can be

Re: [Qemu-devel] [RFC PATCH 0/9] qemu capabilities reporting and config changes

2012-03-19 Thread Paolo Bonzini
Il 19/03/2012 17:53, Anthony Liguori ha scritto: Yeah,it depends on what you consider good. :) My direction was like let's cover 90% of the usecases with a decent syntax; yours is let's cover 100% of the usecases even though the syntax may stink. (There's time to convert -display before

Re: [Qemu-devel] [RFC PATCH 0/9] qemu capabilities reporting and config changes

2012-03-19 Thread Anthony Liguori
On 03/19/2012 11:09 AM, Paolo Bonzini wrote: Il 19/03/2012 16:09, Anthony Liguori ha scritto: Hi, I didn't start out intending to write this series, but I end up here trying to resolve an issue in the gtk UI. What issue? :) I rewrote the scaling support and did some usability testing with

Re: [Qemu-devel] [RFC PATCH 0/9] qemu capabilities reporting and config changes

2012-03-19 Thread Anthony Liguori
On 03/19/2012 11:33 AM, Paolo Bonzini wrote: Il 19/03/2012 17:31, Anthony Liguori ha scritto: It also plumbs the existing command line options through QemuOpts via a special 'system' section. This means that any command line option can be specified via readconfig and that the combination of

Re: [Qemu-devel] [RFC PATCH 0/9] qemu capabilities reporting and config changes

2012-03-19 Thread Anthony Liguori
On 03/19/2012 11:45 AM, Paolo Bonzini wrote: Il 19/03/2012 17:41, Anthony Liguori ha scritto: On 03/19/2012 11:33 AM, Paolo Bonzini wrote: Il 19/03/2012 17:31, Anthony Liguori ha scritto: It also plumbs the existing command line options through QemuOpts via a special 'system' section. This