Hi Liang,
Thanks for your advice and link.
Host - Debian 5.0
KVM
libvirt
run kvm-nbd VM/vm30.qcow2, modprobe nbd
nbd-client localhost 1024 /dev/nbd0
then you can use /dev/nbd0 as a block device like /dev/sda
I've write a little essay on how to install Debian on kvm image, FYI:
http://blog.chinaunix.net/u/7667/showart_2112267.html
I can't find kvm-nbd and nbd-client. I have nbd installed already.
$ yum list nbd
Loaded plugins: presto, refresh-packagekit
Available Packages
nbd.x86_64 2.9.13-1.fc12 fedora
$ which kvm-nbd
/usr/bin/which: no kvm-nbd in
(/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/satimis/bin)
$ which qemu-nbd
/usr/bin/qemu-nbd
$ which nbd-client
/usr/bin/which: no nbd-client in
(/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/satimis/bin)
I suppose qemu-nbd = kvm-nbd ? Where is nbd-client ?
Any advice? TIA
B.R.
Stephen
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html