Virtual storport disk is indicated as HDD not SSD in task manager.

I developed a virtual storport driver for test and it runs in fixed size memory (RAM).
I think this virtual disk is not a HDD but is close to SSD type but disk is indicated as HDD in task manager.
How should a driver report the disk type to windows?

Is there any way in which this matters?

No, I just think Windows will defrag volumes on the disk sometimes maybe…?
I think a defragment job is not necessary on SSD.

Try setting MediumRotationRateMsb to 0 and MediumRotationRateLsb to 1 in your VPD_BLOCK_DEVICE_CHARACTERISTICS response.