X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=hw%2Fdevice-hotplug.c;h=69779caef59320bdb00d3445f169be7dabf1d771;hb=72cf2d4f0e181d0d3a3122e04129c58a95da713e;hp=fd4cc3fb5449b56cf493714e54f680a089d2783d;hpb=620150dc9c1827cdddfa64a0fada7af5f7ee405b;p=qemu diff --git a/hw/device-hotplug.c b/hw/device-hotplug.c index fd4cc3f..69779ca 100644 --- a/hw/device-hotplug.c +++ b/hw/device-hotplug.c @@ -68,7 +68,7 @@ void destroy_bdrvs(dev_match_fn *match_fn, void *arg) DriveInfo *dinfo; struct BlockDriverState *bs; - TAILQ_FOREACH(dinfo, &drives, next) { + QTAILQ_FOREACH(dinfo, &drives, next) { bs = dinfo->bdrv; if (bs) { if (bs->private && match_fn(bs->private, arg)) {