WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] ioemu-stubdom: fix initialization of vm_change_state

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] ioemu-stubdom: fix initialization of vm_change_state_head (do not apply to qemu-xen tree)
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Wed, 6 Aug 2008 11:32:25 +0100
Delivery-date: Wed, 06 Aug 2008 03:32:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
ioemu-stubdom: fix initialization of vm_change_state_head
That is actually a no-op since it just sets it to NULL again, but makes
sense.

diff -r e3ad36beee7a tools/ioemu/vl.c
--- a/tools/ioemu/vl.c  Tue Aug 05 17:42:02 2008 +0100
+++ b/tools/ioemu/vl.c  Wed Aug 06 11:10:29 2008 +0100
@@ -7104,8 +7104,10 @@ int main(int argc, char **argv)
         sigaddset(&set, aio_sig_num);
         sigprocmask(SIG_BLOCK, &set, NULL);
     }
+#endif
 
     QEMU_LIST_INIT (&vm_change_state_head);
+#ifndef CONFIG_STUBDOM
 #ifndef _WIN32
     {
         struct sigaction act;

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] ioemu-stubdom: fix initialization of vm_change_state_head (do not apply to qemu-xen tree), Samuel Thibault <=