Tech-FZ / EmuGUI

A QEMU GUI that I made.
https://tech-fz.github.io/EmuGUI-doc/
GNU General Public License v3.0
104 stars 11 forks source link

QEMU warns from detecting raw automatically (at least if QEMU has to do it by itself) #13

Closed Tech-FZ closed 2 years ago

Tech-FZ commented 2 years ago

QEMU seems to hate it if it has to automatically detect the raw disk file format by itself. Here is the proof:

WARNING: Image format was not specified for 'H:/Nicos VMs/HDD files/QEMU (EmuGUI)/openSUSE/Tumbleweed/aarch64/openSUSE-Tumbleweed-ARM-XFCE-efi.aarch64.raw/openSUSE-Tumbleweed-ARM-XFCE-efi.aarch64.raw' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.

This occured with: Windows 10 Pro x64 Version 21H2 QEMU 7.0.0 x64 (Windows) EmuGUI 0.3

If we want automatic detection, then it has to be done before QEMU runs. Else, we can ask the user if it's a raw file.

Tech-FZ commented 2 years ago

This is now solved with 0.4.