vfio: fix wrong initialize vfio_group_list
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>
Wed, 4 Feb 2015 18:45:32 +0000 (11:45 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 4 Feb 2015 18:45:32 +0000 (11:45 -0700)
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/common.c

index cf483fffa9d5333a56bcdc8d9204c6fa5e30bc15..e71385e4fef09978d6bef9c0a1e3aef1b1299e15 100644 (file)
@@ -32,7 +32,7 @@
 #include "trace.h"
 
 struct vfio_group_head vfio_group_list =
-    QLIST_HEAD_INITIALIZER(vfio_address_spaces);
+    QLIST_HEAD_INITIALIZER(vfio_group_list);
 struct vfio_as_head vfio_address_spaces =
     QLIST_HEAD_INITIALIZER(vfio_address_spaces);