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 cf483ff..e71385e 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);