qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Add new function qemu_register_machines


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH] Add new function qemu_register_machines
Date: Thu, 21 May 2009 21:28:24 +0200
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

Anthony Liguori schrieb:
> Stefan Weil wrote:
>> Add new function qemu_register_machines.
>>
>> The patch removes the unused prototype register_machines
>> and adds a new function which makes registration of
>> more than one machine a little easier.
>>
>> The new function is applied to the machines in hw/spitz.c
>> (where a static keyword for akitapda_machine was missing),
>> but it can also be applied to several other QEMU source files.
>>
>> Signed-off-by: Stefan Weil <address@hidden>
>>   
>
> Might as well eliminate qemu_register_machine() and convert everything
> to use qemu_register_machines().
>

Yes. But I prefer to have both interfaces.
qemu_register_machine(&my_machine) looks nicer
than qemu_register_machines(&my_machine, 1).





reply via email to

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