The important difference between your -drive command line and my -blockdev example is that I used the node-name to reference the image. You can specify a node-name with -drive, too (having both id and node-name is one of the main things that I meant what I said mixing both styles can be confusing).
I also don't think that index=1 does anything useful when used with if=none, so you can leave that out.
The important difference between your -drive command line and my -blockdev example is that I used the node-name to reference the image. You can specify a node-name with -drive, too (having both id and node-name is one of the main things that I meant what I said mixing both styles can be confusing).
I also don't think that index=1 does anything useful when used with if=none, so you can leave that out.
Putting everything together, we get this:
$ qemu-system-x86_64 \ d01,file= disk1.img, format= qcow2,if= none \ blk,drive= d01,serial= s01,share- rw=on \ blk,drive= d01,serial= s01,share- rw=on
-drive node-name=
-device virtio-
-device virtio-