[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] ioemu: Fix build after LIST->QEMU_LIST changes.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1202390359 0
# Node ID 9cac8f659a24bc1cfd4d94490c65f49aa3ac361b
# Parent  2adf154d17c2de7e46eb0953011d85a9e1fd7b1a
ioemu: Fix build after LIST->QEMU_LIST changes.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/ioemu/monitor.c |    6 +++---
 tools/ioemu/vl.c      |   10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff -r 2adf154d17c2 -r 9cac8f659a24 tools/ioemu/monitor.c
--- a/tools/ioemu/monitor.c     Thu Feb 07 10:47:20 2008 +0000
+++ b/tools/ioemu/monitor.c     Thu Feb 07 13:19:19 2008 +0000
@@ -1167,7 +1167,7 @@ static void do_info_profile(void)
 #endif
 
 /* Capture support */
-static LIST_HEAD (capture_list_head, CaptureState) capture_head;
+static QEMU_LIST_HEAD (capture_list_head, CaptureState) capture_head;
 
 static void do_info_capture (void)
 {
@@ -1188,7 +1188,7 @@ static void do_stop_capture (int n)
     for (s = capture_head.lh_first, i = 0; s; s = s->entries.le_next, ++i) {
         if (i == n) {
             s->ops.destroy (s->opaque);
-            LIST_REMOVE (s, entries);
+            QEMU_LIST_REMOVE (s, entries);
             qemu_free (s);
             return;
         }
@@ -1220,7 +1220,7 @@ static void do_wav_capture (const char *
         term_printf ("Faied to add wave capture\n");
         qemu_free (s);
     }
-    LIST_INSERT_HEAD (&capture_head, s, entries);
+    QEMU_LIST_INSERT_HEAD (&capture_head, s, entries);
 }
 #endif
 
diff -r 2adf154d17c2 -r 9cac8f659a24 tools/ioemu/vl.c
--- a/tools/ioemu/vl.c  Thu Feb 07 10:47:20 2008 +0000
+++ b/tools/ioemu/vl.c  Thu Feb 07 13:19:19 2008 +0000
@@ -6065,10 +6065,10 @@ struct vm_change_state_entry {
 struct vm_change_state_entry {
     VMChangeStateHandler *cb;
     void *opaque;
-    LIST_ENTRY (vm_change_state_entry) entries;
+    QEMU_LIST_ENTRY (vm_change_state_entry) entries;
 };
 
-static LIST_HEAD(vm_change_state_head, vm_change_state_entry) 
vm_change_state_head;
+static QEMU_LIST_HEAD(vm_change_state_head, vm_change_state_entry) 
vm_change_state_head;
 
 VMChangeStateEntry *qemu_add_vm_change_state_handler(VMChangeStateHandler *cb,
                                                      void *opaque)
@@ -6081,13 +6081,13 @@ VMChangeStateEntry *qemu_add_vm_change_s
 
     e->cb = cb;
     e->opaque = opaque;
-    LIST_INSERT_HEAD(&vm_change_state_head, e, entries);
+    QEMU_LIST_INSERT_HEAD(&vm_change_state_head, e, entries);
     return e;
 }
 
 void qemu_del_vm_change_state_handler(VMChangeStateEntry *e)
 {
-    LIST_REMOVE (e, entries);
+    QEMU_LIST_REMOVE (e, entries);
     qemu_free (e);
 }
 
@@ -7052,7 +7052,7 @@ int main(int argc, char **argv)
         sigprocmask(SIG_BLOCK, &set, NULL);
     }
 
-    LIST_INIT (&vm_change_state_head);
+    QEMU_LIST_INIT (&vm_change_state_head);
 #ifndef _WIN32
     {
         struct sigaction act;

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.