qemu-discuss
[Top][All Lists]
Advanced

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

Re: tftp related question


From: Peter Maydell
Subject: Re: tftp related question
Date: Fri, 28 Oct 2022 11:04:49 +0100

On Fri, 28 Oct 2022 at 07:57, Antonio Apostoliu
<antonioapostoliu@gmail.com> wrote:
>
> Hello
>
>    I use Qemu 6.2.0 on Windows 10.
>   I launch qemu with this script:
> ..\qemu\qemu-system-x86_64.exe -m 512 -smp 1 -hda images/d.qcow2  ^
>      -nic user,tftp=trf,hostfwd=tcp:127.0.0.1:2222-:22
>
>
> Before run script I typed
> icacls .\trf /grant:r "%username%":(OI)(CI)F /T
>
> Downloads from host to vm works.
> Uploads from vm to host does not works.

This is expected. QEMU's built-in TFTP server is read-only:
it is intended (together with the BOOTP support) for allowing
guests that need to do a network boot to load the
network-boot-files. It's not a general-purpose file-transfer
mechanism.

(We ought to document this in the docs somewhere.)

thanks
-- PMM



reply via email to

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