On Thu, Sep 02, 2021 at 10:21:19AM -0400, Peter Xu wrote: > Hi, Dan, > > On Thu, Sep 02, 2021 at 02:53:00PM +0100, Daniel P. Berrangé wrote: > > The correct ordering of devices/backends is generally pretty obvious > > for libvirt to determine. Most of the problems we've had related to > > ordering are on the QEMU side, because the ARGV given to QEMU made > > correct sense if parsed left-to-right, but QEMU didn't actually process > > them in that order. We've patched QEMU to hack around its inability to > > honour the CLI order repeatedly. > > Is there a pointer to the problem?
The biggest problem was with -object, where some objects need to be created before chardevs and some created after chardevs. See object_create_early() method in softmmu/vl.c for the gross hardcoded hacks Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|