Re: [Qemu-devel] [PULL 6/8] machine: Make -machine opts properties of MachineState

2014-05-30 Thread Eduardo Habkost
On Wed, May 28, 2014 at 07:29:01PM +0200, Andreas Färber 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", > +

[Qemu-devel] [PULL 6/8] machine: Make -machine opts properties of MachineState

2014-05-28 Thread Andreas Färber
From: Marcel Apfelbaum Make machine's QemuOpts QOM properties of /machine. The properties are automatically filled in. This opens the possibility to create opts per machine rather than global. Signed-off-by: Marcel Apfelbaum Acked-by: Michael S. Tsirkin Acked-by: Michael Roth Signed-off-by: A