Re: [Qemu-devel] [PATCH V2 4/4] hw/machine: qemu machine opts as properties to QemuMachineState

2014-06-05 Thread Marcel Apfelbaum
On Mon, 2014-06-02 at 12:21 -0300, Eduardo Habkost wrote: On Sun, Jun 01, 2014 at 11:21:49AM +0300, Marcel Apfelbaum wrote: On Fri, 2014-05-30 at 16:25 -0300, Eduardo Habkost wrote: On Mon, May 26, 2014 at 03:40:58PM +0300, Marcel Apfelbaum wrote: [...] +static void

Re: [Qemu-devel] [PATCH V2 4/4] hw/machine: qemu machine opts as properties to QemuMachineState

2014-06-02 Thread Eduardo Habkost
On Sun, Jun 01, 2014 at 11:21:49AM +0300, Marcel Apfelbaum wrote: On Fri, 2014-05-30 at 16:25 -0300, Eduardo Habkost wrote: On Mon, May 26, 2014 at 03:40:58PM +0300, Marcel Apfelbaum wrote: [...] +static void machine_initfn(Object *obj) +{ +object_property_add_str(obj, accel,

Re: [Qemu-devel] [PATCH V2 4/4] hw/machine: qemu machine opts as properties to QemuMachineState

2014-06-01 Thread Marcel Apfelbaum
On Fri, 2014-05-30 at 16:45 -0300, Eduardo Habkost wrote: On Mon, May 26, 2014 at 03:40:58PM +0300, Marcel Apfelbaum wrote: Make machine's QemuOpts QOM properties of machine. The properties are automatically filled in. This opens the possiblity to create opts per machine rather than global.

Re: [Qemu-devel] [PATCH V2 4/4] hw/machine: qemu machine opts as properties to QemuMachineState

2014-06-01 Thread Marcel Apfelbaum
On Fri, 2014-05-30 at 16:25 -0300, Eduardo Habkost wrote: On Mon, May 26, 2014 at 03:40:58PM +0300, Marcel Apfelbaum wrote: [...] +static void machine_initfn(Object *obj) +{ +object_property_add_str(obj, accel, +machine_get_accel, machine_set_accel, NULL);

Re: [Qemu-devel] [PATCH V2 4/4] hw/machine: qemu machine opts as properties to QemuMachineState

2014-05-30 Thread Eduardo Habkost
On Mon, May 26, 2014 at 03:40:58PM +0300, Marcel Apfelbaum wrote: [...] +static void machine_initfn(Object *obj) +{ +object_property_add_str(obj, accel, +machine_get_accel, machine_set_accel, NULL); +object_property_add_bool(obj, kernel_irqchip, +

Re: [Qemu-devel] [PATCH V2 4/4] hw/machine: qemu machine opts as properties to QemuMachineState

2014-05-30 Thread Eduardo Habkost
On Mon, May 26, 2014 at 03:40:58PM +0300, Marcel Apfelbaum wrote: Make machine's QemuOpts QOM properties of machine. The properties are automatically filled in. This opens the possiblity to create opts per machine rather than global. Signed-off-by: Marcel Apfelbaum marce...@redhat.com ---

Re: [Qemu-devel] [PATCH V2 4/4] hw/machine: qemu machine opts as properties to QemuMachineState

2014-05-27 Thread Marcel Apfelbaum
On Mon, 2014-05-26 at 18:20 +0200, Andreas Färber wrote: Am 26.05.2014 14:40, schrieb Marcel Apfelbaum: Make machine's QemuOpts QOM properties of machine. The properties are automatically filled in. This opens the possiblity to create opts per machine rather than global. Signed-off-by:

[Qemu-devel] [PATCH V2 4/4] hw/machine: qemu machine opts as properties to QemuMachineState

2014-05-26 Thread Marcel Apfelbaum
Make machine's QemuOpts QOM properties of machine. The properties are automatically filled in. This opens the possiblity to create opts per machine rather than global. Signed-off-by: Marcel Apfelbaum marce...@redhat.com --- hw/core/machine.c | 256

Re: [Qemu-devel] [PATCH V2 4/4] hw/machine: qemu machine opts as properties to QemuMachineState

2014-05-26 Thread Andreas Färber
Am 26.05.2014 14:40, schrieb Marcel Apfelbaum: Make machine's QemuOpts QOM properties of machine. The properties are automatically filled in. This opens the possiblity to create opts per machine rather than global. Signed-off-by: Marcel Apfelbaum marce...@redhat.com --- hw/core/machine.c