[nvmewin] latest QEMU

Luse, Paul E paul.e.luse at intel.com
Tue Apr 3 15:11:55 PDT 2012


FYI the source repo below will be updated by early next week and include the fix I mentioned

From: nvmewin-bounces at lists.openfabrics.org [mailto:nvmewin-bounces at lists.openfabrics.org] On Behalf Of Luse, Paul E
Sent: Tuesday, April 03, 2012 1:58 PM
To: nvmewin at lists.openfabrics.org
Subject: [nvmewin] latest QEMU

Is here: https://github.com/nvmeqemu/nvmeqemu

Doesn't look like the change is up there yet, I'll ping the engr and see if he can push it soon.  If anyone wants a one line quick fix, add the highlighted line below to nvme_adm.c in function do_features() and rebuild your qemu (you don't need to re-do your VM of course, just rebuild qemu and restart your VM)

    case NVME_FEATURE_NUMBER_OF_QUEUES:
        if (sqe->opcode == NVME_ADM_CMD_SET_FEATURES) {
            n->feature.number_of_queues = sqe->cdw11;
            cqe->cmd_specific = sqe->cdw11;
        } else {
            cqe->cmd_specific = n->feature.number_of_queues;
        }
        break;

____________________________________
Paul Luse
Sr. Staff Engineer
PCG Server Software Engineering
Desk: 480.554.3688, Mobile: 480.334.4630

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/nvmewin/attachments/20120403/9b36b595/attachment.html>


More information about the nvmewin mailing list