[PATCH V6 3/6] kvm: fix double free for fast mmio eventfd

2015-09-15 Thread Jason Wang
We register wildcard mmio eventfd on two buses, once for KVM_MMIO_BUS and once on KVM_FAST_MMIO_BUS but with a single iodev instance. This will lead to an issue: kvm_io_bus_destroy() knows nothing about the devices on two buses pointing to a single dev. Which will lead to double free[1] during

Re: [PATCH V6 3/6] kvm: fix double free for fast mmio eventfd

2015-09-15 Thread Cornelia Huck
On Tue, 15 Sep 2015 14:41:56 +0800 Jason Wang wrote: > We register wildcard mmio eventfd on two buses, once for KVM_MMIO_BUS > and once on KVM_FAST_MMIO_BUS but with a single iodev > instance. This will lead to an issue: kvm_io_bus_destroy() knows > nothing about the devices