lkml.org 
[lkml]   [2011]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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@linux.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



    \
     
     \ /
      Last update: 2011-11-27 11:39    [W:0.207 / U:0.816 seconds]
    ©2003-2014 Jasper Spaans. Advertise on this site