• Add idle field to DisplayState struct, so drivers can figure
    the display is idle and take advantage of that.
    
    The xen framebuffer driver will use this to communicate the
    idle state to the guest, so it knows it can stop doing updates
    to a virtual display which is invisible anyway.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5056 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »
  • This patch makes qemu handle signals better.  It sets the request_shutdown
    flag, making the main_loop exit and qemu taking the usual exit route, with
    atexit handlers being called and so on, instead of qemu just being killed
    by the signal.
    
    To avoid calling vm_start() from the signal handler main_loop() got an
    additional check so qemu_system_shutdown_request() works even when the
    vm is in stopped state.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
    
    
    
    git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5055 c046a42c-6fe2-441c-8c8c-71466251a162
    aliguori authored
     
    Browse Code »