all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH-SERIES v13 qemu-server/manager] API for disk import and OVF
@ 2022-03-17 11:30 Fabian Ebner
  2022-03-17 11:30 ` [pve-devel] [PATCH v13 qemu-server 1/8] clone disk: assert that drive name is the same for drive-mirror on single VM Fabian Ebner
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Fabian Ebner @ 2022-03-17 11:30 UTC (permalink / raw)
  To: pve-devel

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





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-04-04 15:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17 11:30 [pve-devel] [PATCH-SERIES v13 qemu-server/manager] API for disk import and OVF Fabian Ebner
2022-03-17 11:30 ` [pve-devel] [PATCH v13 qemu-server 1/8] clone disk: assert that drive name is the same for drive-mirror on single VM Fabian Ebner
2022-03-17 11:31 ` [pve-devel] [PATCH v13 qemu-server 2/8] clone disk: move check against cloning TPM state of running VM to beginning Fabian Ebner
2022-03-17 11:31 ` [pve-devel] [PATCH v13 qemu-server 3/8] api: clone vm: check against cloning running TPM state early Fabian Ebner
2022-03-17 11:31 ` [pve-devel] [PATCH v13 qemu-server 4/8] clone disk: also clone EFI disk from snapshot Fabian Ebner
     [not found]   ` <<20220317113107.60466-5-f.ebner@proxmox.com>
2022-04-04 14:58     ` Fabian Grünbichler
2022-03-17 11:31 ` [pve-devel] [PATCH v13 qemu-server 5/8] api: add endpoint for parsing .ovf files Fabian Ebner
2022-03-17 11:31 ` [pve-devel] [PATCH v13 qemu-server 6/8] schema: drive: use separate schema when disk allocation is possible Fabian Ebner
2022-03-17 11:31 ` [pve-devel] [PATCH v13 qemu-server 7/8] api: support VM disk import Fabian Ebner
     [not found]   ` <CAOKSTBvWfnXW9RUo2ddKACTgZV9Be-7d=9g8zPoduaDH=XP1Zw@mail.gmail.com>
2022-03-17 12:35     ` Thomas Lamprecht
2022-03-17 11:31 ` [pve-devel] [PATCH v13 qemu-server 8/8] api: update vm: print drive string for newly allocated/imported drives Fabian Ebner
2022-03-17 11:31 ` [pve-devel] [PATCH v13 manager 1/1] api: nodes: add readovf endpoint Fabian Ebner
2022-04-04 14:59 ` [pve-devel] applied: [PATCH-SERIES v13 qemu-server/manager] API for disk import and OVF Fabian Grünbichler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal