Re: [PATCH 19/19] KVM: introduce a KVM_DELETE_DEVICE ioctl
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2019-01-25 22:39:44
Also in:
kvm
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2019-01-25 22:39:44
Also in:
kvm
On Wed, 2019-01-23 at 19:39 +0100, Cédric Le Goater wrote:
quoted
The reason I ask is that we will have to be much more careful about memory allocation lifetimes with this patch.yes. bad refcounting will lead the host kernel to a crash.
One way to alleviate that is to make sure this is only supported on selected devices such as XICS via some flag or the presence of a callback. Cheers, Ben.