From: Shannon Zhao <zhaoshenglong@huawei.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, mjt@tls.msk.ru, shannon.zhao@linaro.org
Subject: [Qemu-devel] [PATCH v3 3/8] hw/sparc/leon3.c: Store irq array in MachineState to fix memory leak
Date: Wed, 17 Jun 2015 10:59:57 +0800 [thread overview]
Message-ID: <1434510002-6976-4-git-send-email-zhaoshenglong@huawei.com> (raw)
In-Reply-To: <1434510002-6976-1-git-send-email-zhaoshenglong@huawei.com>
From: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
---
hw/sparc/leon3.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/sparc/leon3.c b/hw/sparc/leon3.c
index 7f5dcd6..6733ebb 100644
--- a/hw/sparc/leon3.c
+++ b/hw/sparc/leon3.c
@@ -140,6 +140,7 @@ static void leon3_generic_hw_init(MachineState *machine)
/* Allocate IRQ manager */
grlib_irqmp_create(0x80000200, env, &cpu_irqs, MAX_PILS, &leon3_set_pil_in);
+ machine->irqs = cpu_irqs;
env->qemu_irq_ack = leon3_irq_manager;
--
2.0.4
next prev parent reply other threads:[~2015-06-17 3:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-17 2:59 [Qemu-devel] [PATCH v3 0/8] Add a member in MachineState to store irq array Shannon Zhao
2015-06-17 2:59 ` [Qemu-devel] [PATCH v3 1/8] include/hw/boards.h: " Shannon Zhao
2015-06-17 3:16 ` Peter Crosthwaite
2015-06-17 2:59 ` [Qemu-devel] [PATCH v3 2/8] hw/ppc/ppc440_bamboo.c: Store irq array in MachineState to fix memory leak Shannon Zhao
2015-06-17 2:59 ` Shannon Zhao [this message]
2015-06-17 2:59 ` [Qemu-devel] [PATCH v3 4/8] hw/m68k/an5206.c: " Shannon Zhao
2015-06-17 2:59 ` [Qemu-devel] [PATCH v3 5/8] hw/sh4/r2d.c: " Shannon Zhao
2015-06-17 3:00 ` [Qemu-devel] [PATCH v3 6/8] hw/arm/palm.c: " Shannon Zhao
2015-06-17 3:00 ` [Qemu-devel] [PATCH v3 7/8] hw/arm/spitz.c: " Shannon Zhao
2015-06-17 3:00 ` [Qemu-devel] [PATCH v3 8/8] hw/arm/tosa.c: " Shannon Zhao
2015-06-17 7:30 ` [Qemu-devel] [PATCH v3 0/8] Add a member in MachineState to store irq array Michael Tokarev
2015-06-18 10:29 ` Shannon Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1434510002-6976-4-git-send-email-zhaoshenglong@huawei.com \
--to=zhaoshenglong@huawei.com \
--cc=mjt@tls.msk.ru \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=shannon.zhao@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.