qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] "qemu -device ?" segfaults


From: Markus Armbruster
Subject: Re: [Qemu-devel] "qemu -device ?" segfaults
Date: Thu, 23 Feb 2012 09:48:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

andrzej zaborowski <address@hidden> writes:

> On 23 February 2012 09:20, Gerd Hoffmann <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]