[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] Does qemu-img support creating tftp json backing file
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-discuss] Does qemu-img support creating tftp json backing file? |
Date: |
Wed, 31 Aug 2016 10:48:57 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 30.08.2016 um 08:58 hat Han Han geschrieben:
> Hi, all
> I try to create a json backing file via tftp protocol but failed.
> # curl tftp://10.66.6.236/tftp -o tftp
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left Speed
> 100 100M 100 100M 0 0 2680k 0 0:00:38 0:00:38 --:--:-- 2674k
> 100 100M 100 100M 0 0 2680k 0 0:00:38 0:00:38 --:--:-- 2680k
>
> # qemu-img create -f qcow2 -b 'json:{"file.driver":"tftp",
> "file.url":"tftp://10.66.6.236:69/tftp"}' /var/lib/libvirt/images/tftp.img
> qemu-img: /var/lib/libvirt/images/tftp.img: CURL: Error opening file:
> getpeername() failed with errno 107: Transport endpoint is not connected
>
> Is tftp supported in qemu-img? How can I solve the issue? Thks
qemu-img should be able to use it, yes.
However, it's one of those protocols that are never used in practice and
that I've actually never used myself. It is possible that there is a bug
related to TFTP and nobody tried it.
Kevin