[pve-devel] [PATCH v2 manager 0/3] ui: lxc/qemu: add reassign for disks and volumes

Aaron Lauterer a.lauterer at proxmox.com
Mon Nov 15 16:02:06 CET 2021


This series adds the UI for the recently applied backend series that
allows to reassign a disk / volume from one guest to another.

Patch 2 and 3 are optional. Patch 2 only changes a double negated option
and patch 3 happend in the process of working on an interface for the
reassign functionality. Since the work of modernizing this componend is
done, why not use it

v2: incorporated feedback I got off list, mainly
* using more modern approaches
* more arrow functions
* reducing use of predefined cbind values and using inline functions
  when possible


Aaron Lauterer (3):
  ui: lxc/qemu: add disk reassign
  ui: BusTypeSelector: change noVirtIO to withVirtIO
  ui: hdmove: modernize/refactor

 www/manager6/Makefile                   |   1 +
 www/manager6/form/BusTypeSelector.js    |   4 +-
 www/manager6/form/ControllerSelector.js |   4 +-
 www/manager6/lxc/Resources.js           |  62 ++++-
 www/manager6/qemu/CDEdit.js             |   2 +-
 www/manager6/qemu/CIDriveEdit.js        |   2 +-
 www/manager6/qemu/HDMove.js             | 239 ++++++++++--------
 www/manager6/qemu/HDReassign.js         | 316 ++++++++++++++++++++++++
 www/manager6/qemu/HardwareView.js       |  58 ++++-
 9 files changed, 572 insertions(+), 116 deletions(-)
 create mode 100644 www/manager6/qemu/HDReassign.js

-- 
2.30.2






More information about the pve-devel mailing list