From 42f1ced228c9b616cfa2b69846025271618e4ef5 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Wed, 17 Jun 2009 19:23:44 +0000 Subject: Don't set IRQs on device reset and loadvm/savevm Signed-off-by: Blue Swirl --- hw/sbi.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'hw/sbi.c') diff --git a/hw/sbi.c b/hw/sbi.c index 4350b6e..80de8c3 100644 --- a/hw/sbi.c +++ b/hw/sbi.c @@ -47,10 +47,6 @@ typedef struct SBIState { #define SBI_SIZE (SBI_NREGS * 4) -static void sbi_check_interrupts(void *opaque) -{ -} - static void sbi_set_irq(void *opaque, int irq, int level) { } @@ -122,7 +118,6 @@ static int sbi_load(QEMUFile *f, void *opaque, int version_id) for (i = 0; i < MAX_CPUS; i++) { qemu_get_be32s(f, &s->intreg_pending[i]); } - sbi_check_interrupts(s); return 0; } @@ -135,7 +130,6 @@ static void sbi_reset(void *opaque) for (i = 0; i < MAX_CPUS; i++) { s->intreg_pending[i] = 0; } - sbi_check_interrupts(s); } void *sbi_init(target_phys_addr_t addr, qemu_irq **irq, qemu_irq **cpu_irq, -- cgit v1.1