Description of problem: For a closed VM, open "Add disk" dialog, then select "Custom path" to attach the disk. Then select "Device" to "CD/DVD disc" first, after that input a raw disk, then click "Add" of the dialog. The format of the disk is qcow2, not raw. Version-Release number of selected components (if applicable): cockpit-machines-292-1.el8.noarch cockpit-292-1.el8.x86_64 libvirt-dbus-1.3.0-2.module+el8.8.0+16781+9f4724c2.x86_64 How reproducible: 100% Steps to Reproduce: 1 Create a closed VM, then enter the VM detail page 2 Click "Add disk", then select "Custom path" 3 Select "Device" to "CD/DVD disc" 4 Input a raw disk path 5 Click "Add" on the dialog 6 Check the format of the disk attached above Actual results: 1 The format of the disk is qcow2 Expected results: 1 The format of the disk should be raw Additional info:
PR: https://github.com/cockpit-project/cockpit-machines/pull/1124
Test Versions: cockpit-machines-296-1.el8.noarch cockpit-296-1.el8.x86_64 libvirt-dbus-1.3.0-2.module+el8.9.0+18724+20190c23.x86_64 Test Steps: 1 Create a closed VM, then enter the VM detail page 2 Click "Add disk", then select "Custom path" 3 Select "Device" to "CD/DVD disc" 4 Input a raw disk path 5 Click "Add" on the dialog 6 Check the format of the disk attached above Test Results: 1 The format of the disk is raw According to the results, move status to VERIFIED.