Re: [Qemu-devel] [RFC v2 3/7] m48t59: register a QOM type for each nvram type we support

2013-04-27 Thread Artyom Tarasenko
On Sat, Apr 20, 2013 at 12:39 PM, Blue Swirl blauwir...@gmail.com wrote: On Sat, Apr 20, 2013 at 9:56 AM, Artyom Tarasenko atar4q...@gmail.com wrote: On Sat, Apr 20, 2013 at 11:34 AM, Blue Swirl blauwir...@gmail.com wrote: On Sun, Apr 14, 2013 at 9:41 PM, Artyom Tarasenko atar4q...@gmail.com

Re: [Qemu-devel] [RFC v2 3/7] m48t59: register a QOM type for each nvram type we support

2013-04-20 Thread Blue Swirl
On Sun, Apr 14, 2013 at 9:41 PM, Artyom Tarasenko atar4q...@gmail.com wrote: On Sun, Apr 14, 2013 at 10:05 AM, Hervé Poussineau hpous...@reactos.org wrote: As m48t59 devices can only be created with m48t59_init() or m48t59_init_isa(), we know exactly which nvram types are required. Register

Re: [Qemu-devel] [RFC v2 3/7] m48t59: register a QOM type for each nvram type we support

2013-04-20 Thread Artyom Tarasenko
On Sat, Apr 20, 2013 at 11:34 AM, Blue Swirl blauwir...@gmail.com wrote: On Sun, Apr 14, 2013 at 9:41 PM, Artyom Tarasenko atar4q...@gmail.com wrote: On Sun, Apr 14, 2013 at 10:05 AM, Hervé Poussineau hpous...@reactos.org wrote: As m48t59 devices can only be created with m48t59_init() or

Re: [Qemu-devel] [RFC v2 3/7] m48t59: register a QOM type for each nvram type we support

2013-04-20 Thread Blue Swirl
On Sat, Apr 20, 2013 at 9:56 AM, Artyom Tarasenko atar4q...@gmail.com wrote: On Sat, Apr 20, 2013 at 11:34 AM, Blue Swirl blauwir...@gmail.com wrote: On Sun, Apr 14, 2013 at 9:41 PM, Artyom Tarasenko atar4q...@gmail.com wrote: On Sun, Apr 14, 2013 at 10:05 AM, Hervé Poussineau

[Qemu-devel] [RFC v2 3/7] m48t59: register a QOM type for each nvram type we support

2013-04-14 Thread Hervé Poussineau
As m48t59 devices can only be created with m48t59_init() or m48t59_init_isa(), we know exactly which nvram types are required. Register only those three types. Remove .model and .size properties as they can be infered from nvram name. Remove .io_base ISA address port as m48t59_init_isa() is always

Re: [Qemu-devel] [RFC v2 3/7] m48t59: register a QOM type for each nvram type we support

2013-04-14 Thread Artyom Tarasenko
On Sun, Apr 14, 2013 at 10:05 AM, Hervé Poussineau hpous...@reactos.org wrote: As m48t59 devices can only be created with m48t59_init() or m48t59_init_isa(), we know exactly which nvram types are required. Register only those three types. Remove .model and .size properties as they can be

Re: [Qemu-devel] [RFC v2 3/7] m48t59: register a QOM type for each nvram type we support

2013-04-14 Thread Hervé Poussineau
Artyom Tarasenko a écrit : On Sun, Apr 14, 2013 at 10:05 AM, Hervé Poussineau hpous...@reactos.org wrote: As m48t59 devices can only be created with m48t59_init() or m48t59_init_isa(), we know exactly which nvram types are required. Register only those three types. Remove .model and .size