This is a discussion revision. The fix is not clear yet.
NVMe Specification writes:
This Feature indicates the number of queues that the host requests for this controller. This feature shall
only be issued during initialization prior to creation of any I/O Submission and/or Completion Queues. If a
Set Features command is issued for this feature after creation of any I/O Submission and/or I/O Completion
Queues, then the Set Features command shall fail with status code of Command Sequence Error
current implementation did not obey this description.