CV-Bowen opened a new pull request, #4043:
URL: https://github.com/apache/nuttx-apps/pull/4043

   ## Summary
   
   Add the nsh `vhost` command for the `VHOSTIOC_DUMP` ioctl added by
   apache/nuttx#21813, the device-side twin of `virtio dump`:
   
   ```
   vhost dump [type]   dump all vhost devices, or only those of <type>
   vhost -h            usage
   ```
   
   `virtio` and `vhost` now share one implementation that takes the device
   node and the ioctl. Built when `CONFIG_DRIVERS_VHOST=y`; disable with
   `CONFIG_NSH_DISABLE_VHOST` (default `DEFAULT_SMALL`).
   
   Depends on apache/nuttx#21813
   
   ## Impact
   
   New nsh command, only when `CONFIG_DRIVERS_VHOST=y`. `virtio` behaves
   as before.
   
   ## Testing
   
   Host: Ubuntu 22.04.5 LTS x86_64, QEMU version 10.2.1, sim: cc (Ubuntu 
13.1.0-8ubuntu1~22.04) 13.1.0, qemu-armv8a: aarch64-none-elf-gcc (Arm GNU 
Toolchain 12.2.Rel1 (Build arm-12.24)) 12.2.1 20221205
   
   qemu-armv8a:rpproxy with apache/nuttx#21813; the commands and output
   are in that PR's Testing section. `virtio -h` / `virtio dump` checked
   unchanged on qemu-armv8a:rpserver. checkpatch passes; builds with 0
   warnings.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to