projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix sys-queue.h conflict for good
[qemu]
/
hw
/
pci-hotplug.c
diff --git
a/hw/pci-hotplug.c
b/hw/pci-hotplug.c
index
5348dd1
..
f3dc421
100644
(file)
--- a/
hw/pci-hotplug.c
+++ b/
hw/pci-hotplug.c
@@
-84,7
+84,7
@@
void drive_hot_add(Monitor *mon, const QDict *qdict)
switch (type) {
case IF_SCSI:
success = 1;
- scsibus = LIST_FIRST(&dev->qdev.child_bus);
+ scsibus = QLIST_FIRST(&dev->qdev.child_bus);
scsi_bus_legacy_add_drive(DO_UPCAST(SCSIBus, qbus, scsibus),
dinfo, dinfo->unit);
break;