Am 15.01.2016 um 02:19 schrieb Alexandre DERUMIER: >>> - directly pipe to qemu-img so no need to aquire temp space for image > > I'm not sure it's possible to pipe to qemu-img. > > also, maybe it could be possible with raw source file, but qcow2,vmdk,vhdx > have some headers and specific structure, so it seem difficult.
you're right i missed this. This is also the reason why qemu-img does not support STDIN and STDOUT. So we need to upload the whole image to a TMP dir and import it later. May be we can use the Template dir for that? > One way is to implement an nbd server daemon/agent on the source server or > user desktop(where the source file are located) > " > Then qemu-img could use it as source. But that involves the user being able to start this agent / daemon. Grüße Stefan > ----- Mail original ----- > De: "Stefan Priebe" <s.pri...@profihost.ag> > À: "dietmar" <diet...@proxmox.com> > Cc: "pve-devel" <pve-devel@pve.proxmox.com> > Envoyé: Jeudi 14 Janvier 2016 19:28:18 > Objet: Re: [pve-devel] Upload and import disk images > > Am 14.01.2016 um 18:54 schrieb Dietmar Maurer <diet...@proxmox.com>: > >>>>> just to be sure. Nobody interested? >>>> >>>> I personally do not need such feature. What is the use case exactly? >>> >>> The idea is to enable people to easily migrate from vmware, xen, >>> virtualbox, local kvm to proxmox. The most common problem we face is how >>> do i get my virtual drives from vmware to proxmox. >> >> Ah, yes - looks like a good feature (and easy enough to implement) > > The idea is sonething like this: > - add an upload button next to resize for each disk > - use the iso / cd upload code for uploading (current browsers do not seem to > have an upload limit) > - directly pipe to qemu-img so no need to aquire temp space for image > > Do you think this will work? > > Greets, > Stefan > _______________________________________________ > pve-devel mailing list > pve-devel@pve.proxmox.com > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel > > _______________________________________________ > pve-devel mailing list > pve-devel@pve.proxmox.com > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel > _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel