the qemu-server part with one slight fixup (readovf API endpoint renamed from 'index' to 'readovf'). the manager part should be applied once we've bumped qemu-server or when the GUI patches are ready.
On March 17, 2022 12:30 pm, Fabian Ebner wrote: > Extend qm importdisk/importovf functionality to the API. > > Changes from v12: > * Drop already applied patches. > * Add some follow-up improvements related to clone: > * Aborting early for TPM state restriction. > * Check against a corner case with drive-mirror with different > drive names but with the same VM ID. > * Clone EFI disk from snapshot when specified. > * Make readovf endpoint 'protected => 1'. > * Group schema-related changes into a patch. > * Some smaller cleanups/improvements to checks (see individual > patches). > > Still missing GUI integration for import from ovf, but that will be it's > own series. > > Previous discussion here: > https://lists.proxmox.com/pipermail/pve-devel/2022-March/052005.html > > > qemu-server: > > Dominic Jäger (1): > api: support VM disk import > > Fabian Ebner (7): > clone disk: assert that drive name is the same for drive-mirror on > single VM > clone disk: move check against cloning TPM state of running VM to > beginning > api: clone vm: check against cloning running TPM state early > clone disk: also clone EFI disk from snapshot > api: add endpoint for parsing .ovf files > schema: drive: use separate schema when disk allocation is possible > api: update vm: print drive string for newly allocated/imported drives > > PVE/API2/Qemu.pm | 255 ++++++++++++++++++++++++++++++----- > PVE/API2/Qemu/Makefile | 2 +- > PVE/API2/Qemu/OVF.pm | 53 ++++++++ > PVE/QemuServer.pm | 70 ++++++++-- > PVE/QemuServer/Drive.pm | 95 +++++++++---- > PVE/QemuServer/ImportDisk.pm | 4 +- > 6 files changed, 412 insertions(+), 67 deletions(-) > create mode 100644 PVE/API2/Qemu/OVF.pm > > > manager: > > Fabian Ebner (1): > api: nodes: add readovf endpoint > > PVE/API2/Nodes.pm | 7 +++++++ > 1 file changed, 7 insertions(+) > > -- > 2.30.2 > > > > _______________________________________________ > pve-devel mailing list > pve-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel > _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel