aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-02-07 13:19:19 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-02-07 13:19:19 +0000
commitca208ca88e3c8f0d206bf9c44b290d0c27236306 (patch)
tree3c0d6ec2142e61291bc37d4220e3cb7f59550f24 /tools
parentd7102794033c99fe50de79ae23fa34d7be9471ae (diff)
downloadxen-ca208ca88e3c8f0d206bf9c44b290d0c27236306.tar.gz
xen-ca208ca88e3c8f0d206bf9c44b290d0c27236306.tar.bz2
xen-ca208ca88e3c8f0d206bf9c44b290d0c27236306.zip
ioemu: Fix build after LIST->QEMU_LIST changes.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/ioemu/monitor.c6
-rw-r--r--tools/ioemu/vl.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/tools/ioemu/monitor.c b/tools/ioemu/monitor.c
index 6ba850f057..abfe0666b9 100644
--- a/tools/ioemu/monitor.c
+++ b/tools/ioemu/monitor.c
@@ -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 *path,
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 --git a/tools/ioemu/vl.c b/tools/ioemu/vl.c
index cb94bada09..fc81fd16e1 100644
--- a/tools/ioemu/vl.c
+++ b/tools/ioemu/vl.c
@@ -6065,10 +6065,10 @@ void gui_update(void *opaque)
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_state_handler(VMChangeStateHandler *cb,
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;