[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 05/11] chardev: add hmp hotplug commands
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 05/11] chardev: add hmp hotplug commands |
Date: |
Thu, 10 Jan 2013 11:57:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Il 10/01/2013 11:53, Gerd Hoffmann ha scritto:
>> >
>> > This ought to use qmp_chardev_add and a generic opts->ChardevBackend
>> > conversion.
>> >
>> > But IMHO, this kind of intermediate conversion is okay, with the
>> > "correct" thing deferred; being able to play with hotplug from HMP is
>> > worth the small wart. It's really Luiz's decision, so I'm not giving
>> > the reviewed-by (yet).
> Once qmp_chardev_add() can handle everything supported by
> qemu_chr_new_from_opts we can flip over, make qmp_chardev_add the
> primary interface and qemu_chr_new_from_opts legacy (which then does the
> opts->ChardevBackend conversion and calls qmp_chardev_add).
>
> We are not there yet, even with the full series applied.
Yup. Strange ones like msmouse, braille, etc. are missing.
> And even when we arrive there some day we don't have to touch
> hmp_chardev_add when making the switch ;)
Indeed.
Paolo
- [Qemu-devel] [PATCH 09/11] chardev: add parport chardev support to chardev-add (qmp), (continued)
[Qemu-devel] [PATCH 05/11] chardev: add hmp hotplug commands, Gerd Hoffmann, 2013/01/07
[Qemu-devel] [PATCH 10/11] chardev: add socket chardev support to chardev-add (qmp), Gerd Hoffmann, 2013/01/07
[Qemu-devel] [PATCH 07/11] chardev: add tty chardev support to chardev-add (qmp), Gerd Hoffmann, 2013/01/07
[Qemu-devel] [PATCH 03/11] chardev: reduce chardev ifdef mess a bit, Gerd Hoffmann, 2013/01/07
[Qemu-devel] [PATCH 11/11] chardev: add pty chardev support to chardev-add (qmp), Gerd Hoffmann, 2013/01/07