> From: Xuan Zhuo <[email protected]>
> Sent: Thursday, August 3, 2023 4:22 PM
> 
> Do you mean we introduce a new admin queue command
> VIRTIO_ADMIN_CMD_VIRTIO_NET_GET_INFO?
> 
> Then we will have too much commands for net, block.....

VIRTIO_ADMIN_CMD_DEV_CTX_GET

One command that gives device context information in TLV (type length value) 
format.
One of field of the device context is device config space.
Device will return the information depending what device it is, net/blk/console 
each returns different info.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to