Re: [PATCH v4 2/3] virtio: Declare the decoding functions to static

2024-02-21 Thread Markus Armbruster
Hyman Huang writes: > qmp_decode_protocols(), qmp_decode_status(), and qmp_decode_features() > are now only used in virtio-hmp-cmds.c. So move them into there, > redeclare them to static, and replace the qmp_ prefix with hmp_. > > Signed-off-by: Hyman Huang Reviewed-by: Markus Armbruster

[PATCH v4 2/3] virtio: Declare the decoding functions to static

2024-02-21 Thread Hyman Huang
qmp_decode_protocols(), qmp_decode_status(), and qmp_decode_features() are now only used in virtio-hmp-cmds.c. So move them into there, redeclare them to static, and replace the qmp_ prefix with hmp_. Signed-off-by: Hyman Huang --- hw/virtio/meson.build | 4 +- hw/virtio/virtio-hmp-cmds