[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4ED212C7.1080901@redhat.com>
Date: Sun, 27 Nov 2011 12:36:55 +0200
From: Avi Kivity <avi@...hat.com>
To: Liu Ping Fan <kernelfans@...il.com>
CC: kvm@...r.kernel.org, qemu-devel@...gnu.org,
linux-kernel@...r.kernel.org, aliguori@...ibm.com,
jan.kiszka@....de, ryanh@...ibm.com
Subject: Re: [PATCH 2/2] kvm: exit to userspace with reason KVM_EXIT_VCPU_DEAD
On 11/27/2011 04:42 AM, Liu Ping Fan wrote:
> From: Liu Ping Fan <pingfank@...ux.vnet.ibm.com>
>
> The vcpu can be safely released when
> --1.guest tells us that the vcpu is not needed any longer.
> --2.vcpu hits the last instruction _halt_
>
> If both of the conditions are satisfied, kvm exits to userspace
> with the reason vcpu dead. So the user thread can exit safely.
>
>
Seems to be completely unnecessary. If you want to exit from the vcpu
thread, send it a signal.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists