diff options
Diffstat (limited to 'results/classifier/118/none/2840')
| -rw-r--r-- | results/classifier/118/none/2840 | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/results/classifier/118/none/2840 b/results/classifier/118/none/2840 new file mode 100644 index 00000000..ddadea9f --- /dev/null +++ b/results/classifier/118/none/2840 @@ -0,0 +1,51 @@ +x86: 0.748 +virtual: 0.720 +graphic: 0.701 +architecture: 0.696 +vnc: 0.678 +device: 0.655 +performance: 0.583 +socket: 0.575 +network: 0.562 +boot: 0.515 +PID: 0.515 +debug: 0.510 +permissions: 0.497 +files: 0.481 +kernel: 0.453 +peripherals: 0.443 +mistranslation: 0.409 +register: 0.403 +hypervisor: 0.392 +ppc: 0.390 +assembly: 0.384 +KVM: 0.375 +i386: 0.354 +VMM: 0.352 +semantic: 0.341 +risc-v: 0.335 +arm: 0.245 +user-level: 0.220 +TCG: 0.214 + +After converting the Windows 10 system disk from qcow2 to LUKS format with pre-allocated space, the system fails to boot +Description of problem: +When converting a qcow2 file containing an installed Windows 10 system to LUKS format, using the --target-is-zero parameter in the conversion command prevents the LUKS image from shrinking. However, when attempting to boot the virtual machine with the converted LUKS file, VNC login shows a black screen, and the system fails to start. If the conversion is performed without the --target-is-zero parameter, the system boots up normally +Steps to reproduce: +1. create a luks image +qemu-img create -f qcow2 --object secret,data=123,id=sec0 -o preallocation=full,encrypt.format=luks,encrypt.key-secret=sec0 encry_ok.qcow2 50G +2. +qemu-img convert -t none -T none --object secret,id=sec0,data=123 -f qcow2 ./windows10.qcow2 -n -m 1 --target-image-opts driver=qcow2,encrypt.key-secret=sec0,file.filename=encry_ok.qcow2 --target-is-zero + +windows10.qcow2 container windows20 system and it can be booted +3. +./qemu-system-x86_64 -accel kvm -cpu SandyBridge -object memory-backend-memfd,id=mem1,size=4G -machine memory-backend=mem1 -smp 4 -object secret,id=sec0,data=123,format=raw -drive if=none,driver=qcow2,file.filename=/sdc1/luzhipeng/encry_ok.qcow2,encrypt.key-secret=sec0,id=drive0,cache=none -device virtio-blk,drive=drive0,bootindex=1 -monitor stdio -vnc :4 + +4. vnc shows a black screen, and the system fails to start + +5. if use convert command: +qemu-img convert -t none -T none --object secret,id=sec0,data=123 -f qcow2 ./windows10.qcow2 -n -m 1 --target-image-opts driver=qcow2,encrypt.key-secret=sec0,file.filename=encry_ok.qcow2 + +6. the windows10 system can start successful +Additional information: + |