Am 22.11.2010 15:27, schrieb Jes Sorensen: > On 11/22/10 15:15, Kevin Wolf wrote: >> Am 22.11.2010 15:08, schrieb Jes Sorensen: >>> I am aware of that, but what on earth is qemu-img doing with NBD in the >>> first place? Doesn't make much sense to me. >> >> The same as it's doing with file, host_device or http: Accessing images. >> Start an NBD server (e.g. with qemu-nbd) and try something like qemu >> -hda nbd:localhost. This is how you use the nbd block driver. > > Well ok, seems a really backwards way to try and shoot yourself in the > foot, but ok, maybe I should redo the patch to simply allow compiling > NBD out instead.
You're free to dislike NBD as much as you want. Just compiling it out unconditionally and calling it a cleanup is a bit too much. ;-) A configure option for disabling NBD sounds reasonable, though I'm not sure what you're trying to achieve with it. It doesn't have any external dependencies that you could avoid this way, does it? Kevin