On Tue, Dec 20, 2016 at 04:30:35PM +0800, jack.chen wrote: > Hello,now I alloc a block of memory in KVM for VM,and I need free it > when VM shutdown,however I do not know when VM shutdown,which fun in > KVM is called,so can you tell me which fun in which I need to free my > memory?? Take a look at kvm_destroy_vm(). You haven't described your use case or posted code so it may not be exactly right for your needs. Stefan
Attachment:
signature.asc
Description: PGP signature