OSDN Git Service
Paul Moore [Mon, 15 Jul 2013 19:32:01 +0000 (15:32 -0400)]
seccomp: add additional asynchronous I/O syscalls
A previous commit, "seccomp: add the asynchronous I/O syscalls to the
whitelist", added several asynchronous I/O syscalls but left out the
io_submit() and io_cancel() syscalls. This patch corrects this by
adding the two missing asynchronous I/O syscalls.
Signed-off-by: Paul Moore <pmoore@redhat.com>
Reviewed-by: Eduardo Otubo <otubo@linux.vnet.ibm.com>
Message-id:
20130715193201.943.4913.stgit@localhost
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Peter Maydell [Mon, 29 Jul 2013 10:31:49 +0000 (11:31 +0100)]
linux-user: Return success from m68k set_thread_area syscall
The m68k set_thread_area syscall implementation failed to set the
return value. Correctly set it zero, since this syscall will always
succeed.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id:
1375093909-13653-1-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Peter Maydell [Mon, 29 Jul 2013 11:00:32 +0000 (12:00 +0100)]
linux-user/signal.c: Avoid using uninitialized data in ARM sigreturn
Rephrase code used in ARM sigreturn functions to avoid using
uninitialized variables. This fixes one genuine problem ('frame'
would not be initialized if we took the error-exit path because
our stackpointer was misaligned) and one which is clang being
alarmist (frame_addr wouldn't be initialized, though this is
harmless since unlock_user_struct ignores its second argument
in these cases; however since we don't generally make use of
this not-really-documented effect it's better avoided).
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id:
1375095632-13735-3-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Peter Maydell [Mon, 29 Jul 2013 11:00:31 +0000 (12:00 +0100)]
linux-user/signal.c: PPC: Silence clang uninitialized-use warning
Silence a clang warning in a PPC signal return function:
/home/petmay01/linaro/qemu-from-laptop/qemu/linux-user/signal.c:4611:9: error: variable 'sr_addr' is used
uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
if (!lock_user_struct(VERIFY_READ, sc, sc_addr, 1))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/petmay01/linaro/qemu-from-laptop/qemu/linux-user/signal.c:4636:28: note: uninitialized use occurs here
unlock_user_struct(sr, sr_addr, 1);
^~~~~~~
/home/petmay01/linaro/qemu-from-laptop/qemu/linux-user/qemu.h:442:27: note: expanded from macro 'unlock_user_struct'
unlock_user(host_ptr, guest_addr, (copy) ? sizeof(*host_ptr) : 0)
^
This happens when we unlock a user struct which we never
attempted to lock. Strictly, clang is actually wrong here -- it
hasn't been able to spot that unlock_user_struct() doesn't use
its second argument if the first is NULL. However it doesn't
seem too unreasonable to demand that we pass in initialized
values to it.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id:
1375095632-13735-2-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Peter Maydell [Mon, 29 Jul 2013 12:16:39 +0000 (13:16 +0100)]
spapr: Rename 'dprintf' to 'DPRINTF'
'dprintf' is the name of a POSIX standard function so we should not be
stealing it for our debug macro. Rename to 'DPRINTF' (in line with
a number of other source files.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Acked-by: Richard Henderson <rth@twiddle.net>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Message-id:
1375100199-13934-5-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Peter Maydell [Mon, 29 Jul 2013 12:16:38 +0000 (13:16 +0100)]
target-ppc/kvm.c: Rename 'dprintf' to 'DPRINTF'
'dprintf' is the name of a POSIX standard function so we should not be
stealing it for our debug macro. Rename to 'DPRINTF' (in line with
a number of other source files.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Acked-by: Richard Henderson <rth@twiddle.net>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Message-id:
1375100199-13934-4-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Peter Maydell [Mon, 29 Jul 2013 12:16:37 +0000 (13:16 +0100)]
s390x: Rename 'dprintf' to 'DPRINTF'
'dprintf' is the name of a POSIX standard function so we should not be
stealing it for our debug macro. Rename to 'DPRINTF' (in line with
a number of other source files.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Acked-by: Richard Henderson <rth@twiddle.net>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Message-id:
1375100199-13934-3-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Peter Maydell [Mon, 29 Jul 2013 12:16:36 +0000 (13:16 +0100)]
block/sheepdog: Rename 'dprintf' to 'DPRINTF'
'dprintf' is the name of a POSIX standard function so we should not be
stealing it for our debug macro. Rename to 'DPRINTF' (in line with
a number of other source files.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Acked-by: Richard Henderson <rth@twiddle.net>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Message-id:
1375100199-13934-2-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Igor Mammedov [Mon, 29 Jul 2013 14:47:57 +0000 (16:47 +0200)]
pc: limit 64 bit hole to 2G by default
It turns out that some 32 bit windows guests crash
if 64 bit PCI hole size is >2G.
Limit it to 2G for piix and q35 by default.
User may override default 64-bit PCI hole size by
using "pci-hole64-size" property.
Examples:
-global i440FX-pcihost.pci-hole64-size=4G
-global q35-pcihost.pci-hole64-size=4G
Reported-by: Igor Mammedov <imammedo@redhat.com>,
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id:
1375109277-25561-8-git-send-email-imammedo@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Vasilis Liaskovitis [Mon, 29 Jul 2013 14:47:56 +0000 (16:47 +0200)]
qdev: Add SIZE type to qdev properties
This patch adds a 'SIZE' type property to qdev.
Signed-off-by: Ian Molton <ian.molton@collabora.co.uk>
Signed-off-by: Vasilis Liaskovitis <vasilis.liaskovitis@profitbricks.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id:
1375109277-25561-7-git-send-email-imammedo@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Vasilis Liaskovitis [Mon, 29 Jul 2013 14:47:55 +0000 (16:47 +0200)]
qapi: make visit_type_size fallback to type_int
Currently visit_type_size checks if the visitor's type_size function pointer is
NULL. If not, it calls it, otherwise it calls v->type_uint64(). But neither of
these pointers are ever set. Fallback to calling v->type_int() in this third
(default) case.
Signed-off-by: Vasilis Liaskovitis <vasilis.liaskovitis@profitbricks.com>
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id:
1375109277-25561-6-git-send-email-imammedo@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Igor Mammedov [Mon, 29 Jul 2013 14:47:54 +0000 (16:47 +0200)]
pc: add Q35 to QOM composition tree under /machine
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id:
1375109277-25561-5-git-send-email-imammedo@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Igor Mammedov [Mon, 29 Jul 2013 14:47:53 +0000 (16:47 +0200)]
pc: replace i440fx_common_init() with i440fx_init()
It isn't used anywhere else.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id:
1375109277-25561-4-git-send-email-imammedo@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Igor Mammedov [Mon, 29 Jul 2013 14:47:52 +0000 (16:47 +0200)]
pc: add I440FX QOM cast macro
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id:
1375109277-25561-3-git-send-email-imammedo@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Michael S. Tsirkin [Mon, 29 Jul 2013 14:47:51 +0000 (16:47 +0200)]
pc: move IO_APIC_DEFAULT_ADDRESS to include/hw/i386/ioapic.h
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Message-id:
1375109277-25561-2-git-send-email-imammedo@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Anthony Liguori [Mon, 29 Jul 2013 19:39:49 +0000 (14:39 -0500)]
Merge remote-tracking branch 'afaerber/tags/qom-devices-for-anthony' into staging
QOM device refactorings
* Replace all uses of FROM_SYSBUS() macro with QOM cast macros
i) "QOM cast cleanup for X"
Indicates a mechanical 1:1 between TYPE_* and *State.
ii) "QOM'ify X and Y"
Indicates abstract types may have been inserted or similar changes
to type hierarchy.
ii) Renames
Coding Style fixes such as CamelCase have been applied in some cases.
* Fix for sparc floppy - cf. ii) above
* Change PCI type hierarchy to provide PCI_BRIDGE() casts
* In doing so, prepare for adopting QOM realize
# gpg: Signature made Mon 29 Jul 2013 02:15:22 PM CDT using RSA key ID
3E7E013F
# gpg: Can't check signature: public key not found
# By Andreas Färber (171) and others
# Via Andreas Färber
* afaerber/tags/qom-devices-for-anthony: (173 commits)
sysbus: QOM parent field cleanup for SysBusDevice
spapr_pci: QOM cast cleanup
ioapic: QOM cast cleanup
kvm/ioapic: QOM cast cleanup
kvmvapic: QOM cast cleanup
mipsnet: QOM cast cleanup
opencores_eth: QOM cast cleanup
exynos4210_i2c: QOM cast cleanup
sysbus: Remove unused sysbus_new() prototype
sysbus: Drop FROM_SYSBUS()
xilinx_timer: QOM cast cleanup
tusb6010: QOM cast cleanup
slavio_timer: QOM cast cleanup
pxa2xx_timer: QOM'ify pxa25x-timer and pxa27x-timer
puv3_ost: QOM cast cleanup
pl031: QOM cast cleanup
pl031: Rename pl031_state to PL031State
milkymist-sysctl: QOM cast cleanup
m48t59: QOM cast cleanup for M48t59SysBusState
lm32_timer: QOM cast cleanup
...
Andreas Färber [Sat, 27 Jul 2013 14:40:42 +0000 (16:40 +0200)]
sysbus: QOM parent field cleanup for SysBusDevice
Rename the parent field and hide it from gtk-doc.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 14:39:37 +0000 (16:39 +0200)]
spapr_pci: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 14:31:42 +0000 (16:31 +0200)]
ioapic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 14:30:47 +0000 (16:30 +0200)]
kvm/ioapic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 14:27:41 +0000 (16:27 +0200)]
kvmvapic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:59:07 +0000 (15:59 +0200)]
mipsnet: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:56:28 +0000 (15:56 +0200)]
opencores_eth: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:50:02 +0000 (15:50 +0200)]
exynos4210_i2c: QOM cast cleanup
Fix one ->qdev access and rename parent field.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:45:51 +0000 (15:45 +0200)]
sysbus: Remove unused sysbus_new() prototype
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:39:20 +0000 (15:39 +0200)]
sysbus: Drop FROM_SYSBUS()
As a replacement, use your own macro based on OBJECT_CHECK().
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:32:47 +0000 (15:32 +0200)]
xilinx_timer: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:30:21 +0000 (15:30 +0200)]
tusb6010: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:24:22 +0000 (15:24 +0200)]
slavio_timer: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:20:20 +0000 (15:20 +0200)]
pxa2xx_timer: QOM'ify pxa25x-timer and pxa27x-timer
Introduce type constant for new abstract base type, use QOM casts and
let both non-abstract types inherit from the new base type.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:12:40 +0000 (15:12 +0200)]
puv3_ost: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:10:14 +0000 (15:10 +0200)]
pl031: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:07:44 +0000 (15:07 +0200)]
pl031: Rename pl031_state to PL031State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:06:42 +0000 (15:06 +0200)]
milkymist-sysctl: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:01:49 +0000 (15:01 +0200)]
m48t59: QOM cast cleanup for M48t59SysBusState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:54:54 +0000 (14:54 +0200)]
lm32_timer: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:52:32 +0000 (14:52 +0200)]
grlib_gptimer: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:49:12 +0000 (14:49 +0200)]
exynos4210_rtc: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:45:47 +0000 (14:45 +0200)]
exynos4210_pwm: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:41:50 +0000 (14:41 +0200)]
exynos4210_mct: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:34:22 +0000 (14:34 +0200)]
etraxfs_timer: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:30:31 +0000 (14:30 +0200)]
etraxfs_timer: Rename etrax_timer to ETRAXTimerState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:28:31 +0000 (14:28 +0200)]
cadence_ttc: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:20:25 +0000 (14:20 +0200)]
arm_timer: QOM cast cleanup for icp_pit_state
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:17:41 +0000 (14:17 +0200)]
arm_timer: QOM cast cleanup for SP804State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:15:46 +0000 (14:15 +0200)]
arm_timer: Rename sp804_state to SP804State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:07:22 +0000 (14:07 +0200)]
xilinx_spi: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:03:29 +0000 (14:03 +0200)]
pl022: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:00:25 +0000 (14:00 +0200)]
pl022: Rename pl022_state to PL022State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:50:51 +0000 (13:50 +0200)]
sun4u: QOM cast cleanup for RamDevice
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:48:18 +0000 (13:48 +0200)]
sun4u: QOM cast cleanup for PROMState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:45:23 +0000 (13:45 +0200)]
sun4m: QOM cast cleanup for RamDevice
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:42:29 +0000 (13:42 +0200)]
sun4m: QOM cast cleanup for PROMState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:38:44 +0000 (13:38 +0200)]
sun4m: QOM cast cleanup for AFXState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:33:46 +0000 (13:33 +0200)]
sun4m: QOM cast cleanup for IDRegState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:23:41 +0000 (13:23 +0200)]
pl181: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:20:09 +0000 (13:20 +0200)]
pl181: Rename pl181_state to PL181State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:18:50 +0000 (13:18 +0200)]
milkymist-memcard: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:03:07 +0000 (13:03 +0200)]
ppce500_spin: QOM cast cleanup
Introduce type constant and use QOM cast.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:50:29 +0000 (12:50 +0200)]
ds1225y: QOM cast cleanup for SysBusNvRamState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:47:09 +0000 (12:47 +0200)]
ds1225y: Drop bogus qdev field from NvRamState
It is not a device, and the field is not used from code either.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:43:06 +0000 (12:43 +0200)]
xilinx_ethlite: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:35:15 +0000 (12:35 +0200)]
xgmac: QOM cast cleanup
Introduce type constant and use QOM casts and typedef consistently.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:27:46 +0000 (12:27 +0200)]
stellaris_enet: Fix NetClientInfo::cleanup
Drop freeing stellaris_enet_state - that is done by QOM later on unref.
Both MemoryRegion init and savevm registration happen in SysBusDevice
initfn currently, so move them into an unrealizefn for now.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:23:22 +0000 (12:23 +0200)]
stellaris_enet: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:17:48 +0000 (12:17 +0200)]
smc91c111: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:13:17 +0000 (12:13 +0200)]
milkymist-minimac2: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:08:14 +0000 (12:08 +0200)]
lance: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 09:55:02 +0000 (11:55 +0200)]
lan9118: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 09:48:42 +0000 (11:48 +0200)]
etraxfs_eth: Rename fs_eth to ETRAXFSEthState
Also add a typedef.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 09:44:01 +0000 (11:44 +0200)]
etraxfs_eth: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 09:39:47 +0000 (11:39 +0200)]
cadence_gem: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 21:29:03 +0000 (23:29 +0200)]
zynq_slcr: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 21:21:50 +0000 (23:21 +0200)]
slavio_misc: QOM cast cleanup for APCState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 21:19:11 +0000 (23:19 +0200)]
slavio_misc: QOM cast cleanup for MiscState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 21:16:03 +0000 (23:16 +0200)]
puv3_pm: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 20:32:18 +0000 (22:32 +0200)]
mst_fpga: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 20:27:57 +0000 (22:27 +0200)]
milkymist-pfpu: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 20:24:22 +0000 (22:24 +0200)]
milkymist-hpdmc: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 19:59:04 +0000 (21:59 +0200)]
lm32_sys: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 19:47:58 +0000 (21:47 +0200)]
exynos4210_pmu: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 19:39:54 +0000 (21:39 +0200)]
eccmemctl: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 19:34:18 +0000 (21:34 +0200)]
arm_sysctl: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 19:20:52 +0000 (21:20 +0200)]
arm_l2x0: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 19:18:35 +0000 (21:18 +0200)]
arm_l2x0: Rename l2x0_state to L2x0State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:46:22 +0000 (20:46 +0200)]
xilinx_intc: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:40:40 +0000 (20:40 +0200)]
slavio_intctl: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:34:29 +0000 (20:34 +0200)]
realview_gic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:30:57 +0000 (20:30 +0200)]
puv3_intc: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:23:57 +0000 (20:23 +0200)]
pl190: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:18:42 +0000 (20:18 +0200)]
pl190: Rename pl190_state to PL190State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:14:20 +0000 (20:14 +0200)]
omap_intc: QOM'ify omap-intc and omap2-intc
Create a new abstract base type and let omap-intc and omap2-intc inherit
from it. Introduce a type constant and use QOM casts.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 17:53:49 +0000 (19:53 +0200)]
lm32_pic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 17:26:18 +0000 (19:26 +0200)]
grlib_irqmp: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 17:19:19 +0000 (19:19 +0200)]
exynos4210_gic: QOM cast cleanup for exynos4210.irq_gate
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 17:16:20 +0000 (19:16 +0200)]
exynos4210_gic: QOM cast cleanup for exynos4210.gic
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 17:11:37 +0000 (19:11 +0200)]
exynos4210_combiner: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 17:05:58 +0000 (19:05 +0200)]
etraxfs_pic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 16:57:48 +0000 (18:57 +0200)]
arm_gic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 16:49:24 +0000 (18:49 +0200)]
pl050: QOM'ify pl050_keyboard and pl050_mouse
Introduce an abstract type pl050 and let pl050_keyboar and pl050_mouse
inherit from it, using different instance_init functions.
Introduce a type constant and use QOM casts.
Signed-off-by: Andreas Färber <afaerber@suse.de>