[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Modify qemu-img to mount locally disk image usi

From: Fabrice Bellard
Subject: Re: [Qemu-devel] [PATCH] Modify qemu-img to mount locally disk image using NBD (v2)
Date: Tue, 11 Mar 2008 23:48:03 +0100
User-agent: Thunderbird (X11/20070212)

Laurent Vivier wrote:
> This patch is a new version of qemu-img using NBD device to mount Qemu
> disk image.
> To not hang on UP system, it needs following patch:
> http://article.gmane.org/gmane.linux.drivers.nbd.general/42
> If you want to use loop to see partitions, you need this patch:
> http://article.gmane.org/gmane.linux.kernel/651269
> otherwise use kpartx (see kpartx package of your distro).
> This patch implements in qemu-img the client and the server of the nbd 
> protocol.
> Moreover, to avoid to specify a port to use, it creates a UNIX socket instead 
> of
> a INET socket.
> It adds two actions to qemu-img:
> - bind, to bind a disk image to a NBD device,
>   qemu-img bind [-d] [-f fmt] device filename
>      ('-d' to daemonize)
> - unbind, to unbind it.
>   qemu-img unbind device
> [...]

Perhaps adding a new specialized tool would be better as there is no
direct relation with qemu-img.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]