Marc-André Lureau 1e419ee68f chardev: generate an internal id when none given
Internally, qemu may create chardev without ID. Those will not be
looked up with qemu_chr_find(), which prevents using qdev_prop_set_chr().

Use id_generate(), to generate an internal name (prefixed with #), so
no conflict exist with user-named chardev.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: xiaoqiang zhao <zxq_yx_007@163.com>
2020-01-07 16:50:09 +04:00
..
2020-01-06 18:41:32 +04:00
2019-08-16 13:31:52 +02:00
2019-10-17 17:02:32 -04:00
2019-09-10 08:58:43 +02:00
2019-12-18 20:18:02 +00:00
2019-09-11 08:46:17 +02:00
2019-08-21 16:29:57 +02:00
2020-01-02 16:29:32 +04:00
2019-10-28 15:12:38 +00:00
2019-04-18 22:18:59 +02:00
2019-10-28 15:12:38 +00:00
2019-08-16 13:31:52 +02:00
2019-09-16 17:13:06 +02:00
2018-12-20 10:29:08 +01:00