Re: [Qemu-devel] [PATCH v2 6/7] [RFC] Use DEFINE_MACHINE to register all machines

2015-08-21 Thread Eduardo Habkost
On Wed, Aug 19, 2015 at 10:25:34AM +0200, Michael Walle wrote: [...] > >-static void lm32_machine_init(void) > >+static void lm32_evr_machine_machine_init(MachineClass *mc) > > { > >-qemu_register_machine(&lm32_uclinux_machine); > >-qemu_register_machine(&lm32_evr_machine); > >+mc->desc

Re: [Qemu-devel] [PATCH v2 6/7] [RFC] Use DEFINE_MACHINE to register all machines

2015-08-19 Thread Michael Walle
Am 2015-08-18 23:43, schrieb Eduardo Habkost: I am sending a single patch for all machines to get some feedback, but in the final patch series I will separate them by architecture. Signed-off-by: Eduardo Habkost --- (Sending v2 of just patch 6/7 to avoid resending the whole series) Changes v1

[Qemu-devel] [PATCH v2 6/7] [RFC] Use DEFINE_MACHINE to register all machines

2015-08-18 Thread Eduardo Habkost
I am sending a single patch for all machines to get some feedback, but in the final patch series I will separate them by architecture. Signed-off-by: Eduardo Habkost --- (Sending v2 of just patch 6/7 to avoid resending the whole series) Changes v1 -> v2: * Fix trailing spaces and newlines * Don'