[pve-devel] applied: [PATCH qemu-server] qmrestore: fix restore from STDIN

Thomas Lamprecht t.lamprecht at proxmox.com
Thu May 7 16:57:16 CEST 2020


On 5/7/20 9:15 AM, Fabian Grünbichler wrote:
> the special case was dropped when moving this to pve-storage.
> 
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
>  PVE/QemuServer.pm | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
> index 8e3fadf..6461da3 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -5655,6 +5655,9 @@ sub tar_restore_cleanup {
>  sub restore_file_archive {
>      my ($archive, $vmid, $user, $opts) = @_;
>  
> +    return restore_vma_archive($archive, $vmid, $user, $opts)
> +	if $archive eq '-';
> +
>      my $info = PVE::Storage::archive_info($archive);
>      my $format = $opts->{format} // $info->{format};
>      my $comp = $info->{compression};
> 

applied, with some info what the fixed commit is.





More information about the pve-devel mailing list