]> www.infradead.org Git - qemu-nvme.git/commit
docs: Deprecate incorrectly typed device_add arguments
authorKevin Wolf <kwolf@redhat.com>
Mon, 15 Nov 2021 14:54:07 +0000 (15:54 +0100)
committerHanna Reitz <hreitz@redhat.com>
Tue, 16 Nov 2021 08:43:50 +0000 (09:43 +0100)
commit4d8b0f0a95361b1a3888f3eb3f76b27420383753
tree30c7421ffd5ba0c8cb152f8147032403328cb82e
parent16e29cc050516ac0915f0db9226079b17dcbcc51
docs: Deprecate incorrectly typed device_add arguments

While introducing a non-QemuOpts code path for device creation for JSON
-device, we noticed that QMP device_add doesn't check its input
correctly (accepting arguments that should have been rejected), and that
users may be relying on this behaviour (libvirt did until it was fixed
recently).

Let's use a deprecation period before we fix this bug in QEMU to avoid
nasty surprises for users.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20211111143530.18985-1-kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20211115145409.176785-12-kwolf@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
docs/about/deprecated.rst