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

2024-02-20 Thread Yong Huang
On Mon, Feb 19, 2024 at 11:38 PM Markus Armbruster wrote: > 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_.

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

2024-02-19 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 > --- > hw/virtio/meson.build

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

2024-02-02 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 | 3 +- hw/virtio/virtio-hmp-cmds