On Mon, Oct 08, 2018 at 01:59:05PM +0800, Dongli Zhang wrote: > I can reproduce with qemu: > > # ls /sys/block/nvme*n1/mq/*/cpu_list > /sys/block/nvme0n1/mq/0/cpu_list > /sys/block/nvme0n1/mq/1/cpu_list > /sys/block/nvme0n1/mq/2/cpu_list > /sys/block/nvme0n1/mq/3/cpu_list > /sys/block/nvme0n1/mq/4/cpu_list > /sys/block/nvme0n1/mq/5/cpu_list > /sys/block/nvme0n1/mq/6/cpu_list > > Here is the qemu cmdline emulating 8-queue nvme while the VM has 12 cpu: > > # qemu-system-x86_64 -m 4096 -smp 12 \ > -kernel /path-to-kernel/linux-4.18.10/arch/x86_64/boot/bzImage \ > -hda /path-to-img/ubuntu1804.qcow2 \ > -append "root=/dev/sda1 init=/sbin/init text" -enable-kvm \ > -net nic -net user,hostfwd=tcp::5022-:22 \ > -device nvme,drive=nvme1,serial=deadbeaf1,num_queues=8 \ > -drive file=/path-to-img/nvme.disk,if=none,id=nvme1 This 'issue' can be reproduced on v4.14 too. Thanks, Ming