[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] -device foo, help shouldn't be allowed for devices wher
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] -device foo, help shouldn't be allowed for devices where -device foo is forbidden |
Date: |
Mon, 14 Jan 2019 17:59:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 2019-01-14 17:31, Peter Maydell wrote:
> We prohibit -device foo for non-pluggable devices:
> $ ./build/all/x86_64-softmmu/qemu-system-x86_64 -device i8257
> qemu-system-x86_64: -device i8257: Parameter 'driver' expects
> pluggable device type
>
> And we suppress them from "-device help" output too.
>
> But we still allow the user to do this:
>
> $ ./build/all/x86_64-softmmu/qemu-system-x86_64 -device i8257,help
> i8257 options:
> dshift=<int32>
> base=<int32>
> pageh-base=<int32>
> page-base=<int32>
Could this still be sometimes useful, e.g. when a device is configured
with the "-global" parameter?
Thomas