i follow current of openbsd on Linux's kvm of ext2_fs .
and
return this qemu image to openbsd partition by tar over ssh .
(
http://openbsd-akita.blogspot.jp/2015/11/export-kvms-image-to-real-machine.html
)


but i hear there is qemu-nbd in Linux.
i try it .

# modprobe nbd max_part=8
# qemu-nbd --connect=/dev/nbd0  /mnt/sda3/home/yuma/TC-5.img
#  mount /dev/nbd0p1 /mnt/kvm
# ls /mnt/kvm
lost+found  mydata.tgz  tce

COPY

sudo umount /mnt/kvm
sudo qemu-nbd --disconnect /dev/nbd0

this is very convinient .
i hope openbsd's qemu-nbd come true .
---
regards

Reply via email to