diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-06-17 19:23:44 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-06-17 19:23:44 +0000 |
commit | 42f1ced228c9b616cfa2b69846025271618e4ef5 (patch) | |
tree | 4739f43120484ddb3d08611da06ffdc8daa8a0f2 /hw/sbi.c | |
parent | eae6bcbfd87c94fd2399b334c2b0a3a9cfa51f52 (diff) |
Don't set IRQs on device reset and loadvm/savevm
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sbi.c')
-rw-r--r-- | hw/sbi.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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, |