[pve-devel] [PATCH qemu-server 0/1 v2] Importwizard

Dominic Jäger d.jaeger at proxmox.com
Fri Nov 20 10:38:06 CET 2020


v2: The first patches are untouched, i added two commits
- Importwizard: Add & remove disk buttons moved from bottom bar into the panel
-- This I was just working on
- fixed gui for importing a single disk; Thank you for the hint Oguz
-- As this is relatively important fix


Patch 4 (import vm) has already changed a lot of lines from patch 2 (import
disk), so it is chaotic and kind of requires "git diff
master..withChaoticPatchesApplied" instead of looking at individual patches
already.  => Adding the fixes at the end doesn't make it worse than it already
is, I think.

###########

As I've talked with Thomas & Dominik about the current state.
I cleaned up the worst chaos, but it's still very much work in progress.

Nonetheless, if
 - you have an .ovf
 - and its disks somewhere on your server
 - and are root
then you can click through the wizard and will have a VM
 - that actually starts
 - has all the disks automatically attached, converted etc.
 - has hostname, cores, RAM like in the .ovf
so that's something, I think.


qemu-server:

Dominic Jäger (1):
      Move importdisk from qm to API

 PVE/API2/Qemu.pm             | 209 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 PVE/API2/Qemu/Import.pm      |  47 +++++++++++++
 PVE/CLI/qm.pm                |  70 +++----------------
 PVE/QemuServer.pm            |  18 ++++-
 PVE/QemuServer/Drive.pm      |  20 ++++++
 PVE/QemuServer/ImportDisk.pm |  85 ----------------------
 PVE/QemuServer/Makefile      |   1 -
 PVE/QemuServer/OVF.pm        |  10 +--
 8 files changed, 306 insertions(+), 154 deletions(-)

Dominic Jäger (5):
      gui: Hardware View: Add GUI for importdisk
      gui: Add button & cmdmenu
      gui: Add importdisk wizard
      importwizard: Move buttons from bottom bar into panel
      importdisk gui: Make storages selectable again

 PVE/API2/Nodes.pm                       |  48 +++++++
 www/manager6/Makefile                   |   2 +
 www/manager6/Workspace.js               |  15 ++
 www/manager6/form/ControllerSelector.js |  26 ++--
 www/manager6/node/CmdMenu.js            |  12 ++
 www/manager6/qemu/HDEdit.js             | 208 ++++++++++++++++++++++++---
 www/manager6/qemu/HardwareView.js       |  24 ++++
 www/manager6/qemu/ImportWizard.js       | 339 ++++++++++++++++++++++++++++++++++++++++++++
 www/manager6/qemu/MultiHDEdit.js        | 290 +++++++++++++++++++++++++++++++++++++
 www/manager6/window/Wizard.js           | 139 +++++++++---------
 10 files changed, 1008 insertions(+), 95 deletions(-)
-- 
2.20.1





More information about the pve-devel mailing list