From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXOCu-0002e9-5V for qemu-devel@nongnu.org; Fri, 05 Jan 2018 04:22:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXOCq-0000mF-Vq for qemu-devel@nongnu.org; Fri, 05 Jan 2018 04:22:32 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38832) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eXOCq-0000ke-P9 for qemu-devel@nongnu.org; Fri, 05 Jan 2018 04:22:28 -0500 References: <1515071752-22961-1-git-send-email-thuth@redhat.com> <20180104140930.7hbtnen3lw7epmrh@var.youpi.perso.aquilenet.fr> <20180104141524.m5xy66jsn2hiajwl@var.youpi.perso.aquilenet.fr> <20180104142101.rivje5qn5dasb6jw@var.youpi.perso.aquilenet.fr> <87tvw0k9am.fsf@dusky.pond.sub.org> From: Paolo Bonzini Message-ID: Date: Fri, 5 Jan 2018 10:22:22 +0100 MIME-Version: 1.0 In-Reply-To: <87tvw0k9am.fsf@dusky.pond.sub.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] usb: Remove legacy -usbdevice option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Samuel Thibault , Thomas Huth , Peter Maydell , kraxel@redhat.com, qemu-devel@nongnu.org On 05/01/2018 09:18, Markus Armbruster wrote: >>> Would it be possible to make this automatic? Before I could tell people >>> "use -usbdevice braille to test braille", and now it would be >>> "use -chardev braille,chardev=foobar -device usb-braille,chardev=foobar" >> Maybe we can add "-braille" instead. Something like this: > More sugar, ugh! > > What about giving braille property chardev a sensible default? > Ideally in a self-documenting way, so that -device usb-braille,help > shows the default. That would mean automatically creating a back-end in a device's realize property. I'd rather avoid that, sugar is not bad per se. Paolo