summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrasad Joshi <prasadjoshi.linux@gmail.com>2014-03-23 14:58:39 +0530
committerAndreas Färber <afaerber@suse.de>2014-03-27 15:48:34 +0100
commit6f1834a2baa2f2688efaa7756d000876c7898d13 (patch)
tree7e1b79cc127d6f000ca55343789ad27f6b372a96
parentbea4acda3bff00e98cb00d5354f23de9e74a928f (diff)
downloadqemu-6f1834a2baa2f2688efaa7756d000876c7898d13.tar.gz
qemu-6f1834a2baa2f2688efaa7756d000876c7898d13.tar.bz2
qemu-6f1834a2baa2f2688efaa7756d000876c7898d13.zip
intc/openpic_kvm: Fix MemListener delete region callback function
Fixes d85937e683f6ff4d68293cb24c780fb1f6820d2c. Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r--hw/intc/openpic_kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/openpic_kvm.c b/hw/intc/openpic_kvm.c
index 87fdb126cf..afa604d59b 100644
--- a/hw/intc/openpic_kvm.c
+++ b/hw/intc/openpic_kvm.c
@@ -200,7 +200,7 @@ static void kvm_openpic_realize(DeviceState *dev, Error **errp)
qdev_init_gpio_in(dev, kvm_openpic_set_irq, OPENPIC_MAX_IRQ);
opp->mem_listener.region_add = kvm_openpic_region_add;
- opp->mem_listener.region_add = kvm_openpic_region_del;
+ opp->mem_listener.region_del = kvm_openpic_region_del;
memory_listener_register(&opp->mem_listener, &address_space_memory);
/* indicate pic capabilities */