qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/1] NBD isn't used by qemu-img, so don't link q


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH 1/1] NBD isn't used by qemu-img, so don't link qemu-img against NBD objects
Date: Mon, 22 Nov 2010 15:38:36 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10

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



reply via email to

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