[PATCH 19/19] KVM: introduce a KVM_DELETE_DEVICE ioctl

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Jan 24 08:32:57 AEDT 2019


On Wed, 2019-01-23 at 19:39 +0100, Cédric Le Goater wrote:
> > 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.




More information about the Linuxppc-dev mailing list