andrzej zaborowski <balr...@gmail.com> writes: > On 23 February 2012 09:20, Gerd Hoffmann <kra...@redhat.com> wrote: >> $subject says all, which pretty much breaks libvirt-managed qemu ... > > Also "device_add nonexistent-device" in the monitor gives a rather > unhelpful message: > > Parameter 'driver' expects device type
"-device foo" is really shorthand for "-device driver=foo". And deep down in the bowels of qdev, where the error get reported, the value of parameter "driver" gets treated like any other parameter's value: if it's not within ACCEPTABLE-SET, complain "Parameter 'NAME' expected ACCEPTABLE-SET". Overuse of syntactic sugar considered harmful.