my problem is exactly this, the link between `device`, `drive` and `blockdev` : while `device` and `drive` link quite easily, I can't link `blockdev` to the other two...
setting aside the fact that the image is used elsewhere, my aim is to mimic `-hda file.qcow2` but without taking the lock into account (`locking=off`).
I currently do this:
```
# qemu-nbd -c /dev/nbd0 file.qcow2
# mount /dev/nbd0p1 /mnt -o uid=me
$ # do some changes in /mnt/...
# umount /mnt
# qemu-nbd -d /dev/nbd0
$ qemu-system-x86_64 -snapshot -hda file.qcow2
# qemu-nbd -c /dev/nbd0 file.qcow2
# mount /dev/nbd0p1 /mnt -o uid=me
$ # do some changes in /mnt/...
# umount /mnt
# qemu-nbd -d /dev/nbd0
$ qemu-system-x86_64 -snapshot -hda file.qcow2
# qemu-nbd -c /dev/nbd0 file.qcow2
# mount /dev/nbd0p1 /mnt -o uid=me
$ # do some changes in /mnt/...
etc...
```
and I'd like to be able to do this :
```
# qemu-nbd -c /dev/nbd0 file.qcow2
# mount /dev/nbd0p1 /mnt -o uid=me
$ # do some changes in /mnt/...
$ qemu-system-x86_64 -snapshot -hda file.qcow2 # with locking=off
$ # do some changes in /mnt/...
$ qemu-system-x86_64 -snapshot -hda file.qcow2 # with locking=off
$ # do some changes in /mnt/...
etc...
```