[pve-devel] applied: [PATCH manager] gui: qemu: allow move disk for EFI Disk again

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Oct 11 12:23:43 CEST 2019


On 10/11/19 12:09 PM, Dominik Csapak wrote:
> with commit
> 7d07e92edaf9c58631953ab7f300a125d63fdd95
> we changed how we define isUsedDisk, which was true for efidisks before,
> but not after
> 
> use the existing 'isEfi' varable to include them for the move_btn
> (but not the resize_btn)
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/manager6/qemu/HardwareView.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/www/manager6/qemu/HardwareView.js b/www/manager6/qemu/HardwareView.js
> index cd65d14d..3d029411 100644
> --- a/www/manager6/qemu/HardwareView.js
> +++ b/www/manager6/qemu/HardwareView.js
> @@ -607,7 +607,7 @@ Ext.define('PVE.qemu.HardwareView', {
>  
>  	    resize_btn.setDisabled(pending || !isUsedDisk || !diskCap);
>  
> -	    move_btn.setDisabled(pending || !isUsedDisk || !diskCap);
> +	    move_btn.setDisabled(pending || !(isUsedDisk || isEfi) || !diskCap);
>  
>  	    revert_btn.setDisabled(!pending);
>  
> 

applied, thanks!




More information about the pve-devel mailing list