On Thu, Nov 17, 2011 at 11:34 AM, Chun Yan Liu wrote:
> Thanks for your suggestions.
>
> For the usage "qemu-nbd -f disk.img", adding some code could implement it. I
> think it could be like "losetup -f" usage.
>
> #qemu-nbd -f
>
> show the first free nbd device at this moment.
>
> user can choose
Thanks for your suggestions.
For the usage "qemu-nbd -f disk.img", adding some code could implement it. I
think it could be like "losetup -f" usage.
#qemu-nbd -f
show the first free nbd device at this moment.
user can choose to issue "qemu-nbd -c THAT_DEVICE disk.img" or not.
#qemu-nbd -f d
On Wed, Nov 16, 2011 at 5:23 PM, Ian Campbell wrote:
> On Wed, 2011-11-16 at 10:34 +, Stefan Hajnoczi wrote:
>> On Wed, Nov 16, 2011 at 6:57 AM, Chunyan Liu wrote:
>> > Currently qemu-nbd does not support finding free nbd device for users like
>> > "losetup -f" and issuing "qemu-nbd -c /dev/n
On Wed, Nov 16, 2011 at 10:27 PM, Stefan Hajnoczi wrote:
> On Wed, Nov 16, 2011 at 11:49 AM, Zhi Yong Wu wrote:
>> On Wed, Nov 16, 2011 at 6:34 PM, Stefan Hajnoczi wrote:
>>> On Wed, Nov 16, 2011 at 6:57 AM, Chunyan Liu wrote:
Currently qemu-nbd does not support finding free nbd device for
On Wed, 2011-11-16 at 10:34 +, Stefan Hajnoczi wrote:
> On Wed, Nov 16, 2011 at 6:57 AM, Chunyan Liu wrote:
> > Currently qemu-nbd does not support finding free nbd device for users like
> > "losetup -f" and issuing "qemu-nbd -c /dev/nbdX disk.img" won't report error
> > message when /dev/nbd
On Wed, Nov 16, 2011 at 11:49 AM, Zhi Yong Wu wrote:
> On Wed, Nov 16, 2011 at 6:34 PM, Stefan Hajnoczi wrote:
>> On Wed, Nov 16, 2011 at 6:57 AM, Chunyan Liu wrote:
>>> Currently qemu-nbd does not support finding free nbd device for users like
>>> "losetup -f" and issuing "qemu-nbd -c /dev/nbdX
On Wed, Nov 16, 2011 at 6:34 PM, Stefan Hajnoczi wrote:
> On Wed, Nov 16, 2011 at 6:57 AM, Chunyan Liu wrote:
>> Currently qemu-nbd does not support finding free nbd device for users like
>> "losetup -f" and issuing "qemu-nbd -c /dev/nbdX disk.img" won't report error
>> message when /dev/nbd is a
On Wed, Nov 16, 2011 at 6:57 AM, Chunyan Liu wrote:
> Currently qemu-nbd does not support finding free nbd device for users like
> "losetup -f" and issuing "qemu-nbd -c /dev/nbdX disk.img" won't report error
> message when /dev/nbd is already in use. It makes things a little confusing.
> This patc
Currently qemu-nbd does not support finding free nbd device for users like
"losetup -f" and issuing "qemu-nbd -c /dev/nbdX disk.img" won't report error
message when /dev/nbd is already in use. It makes things a little confusing.
This patch adds "-f" option to qemu-nbd to support finding a free nbd