diff options
author | Prasad Joshi <prasadjoshi.linux@gmail.com> | 2014-03-23 14:58:39 +0530 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2014-03-27 15:48:34 +0100 |
commit | 6f1834a2baa2f2688efaa7756d000876c7898d13 (patch) | |
tree | 7e1b79cc127d6f000ca55343789ad27f6b372a96 /hw | |
parent | bea4acda3bff00e98cb00d5354f23de9e74a928f (diff) | |
download | qemu-6f1834a2baa2f2688efaa7756d000876c7898d13.zip qemu-6f1834a2baa2f2688efaa7756d000876c7898d13.tar.gz qemu-6f1834a2baa2f2688efaa7756d000876c7898d13.tar.bz2 |
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>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/intc/openpic_kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/openpic_kvm.c b/hw/intc/openpic_kvm.c index 87fdb12..afa604d 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 */ |