Eduardo Habkost f9a8b5530d qdev: Use GList for global properties
If the same GlobalProperty struct is registered twice, the list
entry gets corrupted, making tqe_next points to itself, and
qdev_prop_set_globals() gets stuck in a loop. The bug can be
easily reproduced by running:

  $ qemu-system-x86_64 -rtc-td-hack -rtc-td-hack

Change global_props to use GList instead of queue.h, making the
code simpler and able to deal with properties being registered
twice.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2016-06-17 10:42:21 -03:00
..
2016-06-17 16:33:48 +10:00
2016-05-29 09:11:10 +02:00
2016-06-14 16:01:03 +01:00
2016-06-14 16:01:03 +01:00
2016-06-14 15:59:15 +01:00
2016-05-18 15:04:27 +03:00
2016-05-19 16:42:30 +02:00
2016-06-07 15:39:28 +03:00
2016-06-14 15:59:15 +01:00
2016-04-07 19:57:33 +03:00
2016-06-17 03:28:02 +03:00
2016-06-17 16:33:49 +10:00
2016-05-18 15:04:27 +03:00
2016-06-07 15:59:28 +01:00
2016-06-14 15:37:43 +01:00
2016-06-17 16:33:49 +10:00
2015-12-04 09:39:55 +03:00
2016-05-17 15:50:29 +02:00
2016-05-19 16:42:30 +02:00
2014-10-23 16:41:25 +02:00
2016-04-07 19:57:33 +03:00
2016-05-23 16:53:46 +02:00
2014-10-24 12:19:11 +01:00
2016-06-06 16:59:31 +01:00
2016-05-19 16:42:30 +02:00