9157eee1b1
Move parallel_hds_isa_init to hw/isa/isa-bus.c
...
Disabling CONFIG_PARALLEL cause removing parallel_hds_isa_init defined in
parallel.c. This function is called during initialization of some boards so
disabling CONFIG_PARALLEL cause build failure.
This patch moves parallel_hds_isa_init to hw/isa/isa-bus.c so it is included
in case of disabled CONFIG_PARALLEL. Build is successful but qemu will abort
with "Unknown device" error when function is called.
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com >
Message-Id: <1431509970-32154-1-git-send-email-mrezanin@redhat.com >
Reviewed-by: Markus Armbruster <armbru@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2015-06-05 17:09:58 +02:00
4bc6a3e54e
parallel: parallel_hds_isa_init() shouldn't fail
...
It shouldn't fail, and no caller checks for failure. Make failure
fatal.
Maintainers of affected machines cc'ed.
Cc: Anthony Liguori <aliguori@amazon.com >
Cc: "Michael S. Tsirkin" <mst@redhat.com >
Cc: Aurelien Jarno <aurelien@aurel32.net >
Cc: Leon Alrae <leon.alrae@imgtec.com >
Cc: Blue Swirl <blauwirbel@gmail.com >
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Signed-off-by: Andreas Färber <afaerber@suse.de >
2015-02-24 00:19:06 +01:00
07dc788054
parallel: Factor out common parallel_hds_isa_init()
...
Maintainers of affected machines cc'ed.
Cc: Anthony Liguori <aliguori@amazon.com >
Cc: "Michael S. Tsirkin" <mst@redhat.com >
Cc: Aurelien Jarno <aurelien@aurel32.net >
Cc: Leon Alrae <leon.alrae@imgtec.com >
Cc: Blue Swirl <blauwirbel@gmail.com >
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Signed-off-by: Andreas Färber <afaerber@suse.de >
2015-02-24 00:19:06 +01:00
461a2753a1
parallel: adding vmstate for save/restore
...
VMState added by this patch preserves correct
loading of the parallel port controller state.
Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru >
Acked-by: Juan Quintela <quintela@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2014-09-11 12:20:32 +02:00
c7bcc85d66
qdev: Remove hex8/32/64 property types
...
Replace them with uint8/32/64.
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Eric Blake <eblake@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Signed-off-by: Andreas Färber <afaerber@suse.de >
2014-02-14 21:12:04 +01:00
125ee0ed9c
devices: Associate devices to their logical category
...
The category will be used to sort the devices displayed in
the command line help.
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com >
Message-id: 1375107465-25767-4-git-send-email-marcel.a@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2013-07-29 10:37:09 -05:00
2c9b15cab1
memory: add owner argument to initialization functions
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-07-04 17:42:44 +02:00
db895a1e6a
isa: Use realizefn for ISADevice
...
Drop ISADeviceClass::init and the resulting no-op initfn and let
children implement their own realizefn. Adapt error handling.
Split off an instance_init where sensible.
Signed-off-by: Andreas Färber <afaerber@suse.de >
2013-06-07 12:14:45 +02:00
b0dc5ee6bd
parallel: QOM'ify
...
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber <afaerber@suse.de >
Signed-off-by: Andreas Färber <afaerber@suse.de >
Message-id: 1367093935-29091-11-git-send-email-afaerber@suse.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2013-04-29 08:27:48 -05:00
dccfcd0e5f
sysemu: avoid proliferation of include/ subdirectories
...
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-04-15 18:19:25 +02:00
49ab747f66
hw: move target-independent files to subdirectories
...
This patch tackles all files that are compiled once, moving
them to subdirectories of hw/.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2013-04-08 18:13:12 +02:00