[PATCH v2 15/16] KVM: introduce a KVM_DESTROY_DEVICE ioctl

Paolo Bonzini pbonzini at redhat.com
Sat Mar 16 04:57:00 AEDT 2019

On 13/03/19 09:02, Cédric Le Goater wrote:
> The 'destroy' method is currently used to destroy all devices when the
> VM is destroyed after the vCPUs have been freed.
> This new KVM ioctl exposes the same KVM device method. It acts as a
> software reset of the VM to 'destroy' selected devices when necessary
> and perform the required cleanups on the vCPUs. Called with the
> kvm->lock.
> The 'destroy' method could be improved by returning an error code.
> Signed-off-by: Cédric Le Goater <clg at kaod.org>

Looks good to me.


More information about the Linuxppc-dev mailing list