I followed the tutorial How to Install a Windows 11 VM using LXD on Ubuntu’s official website to set up a Windows 11 VM using incus. However, I encountered the following error during the VM launch:
incus start win11 --console=vga
Error: Failed setting up device via monitor: Failed adding block device for disk device "install": Failed adding block device: aio=native was specified, but it requires cache.direct=on, which was not specified.
Steps to Reproduce:
Followed the steps outlined in the tutorial to set up a Windows 11 VM using LXD.
Encountered the mentioned error during the VM launch.
Expected Behavior:
The Windows 11 VM should launch successfully without encountering any errors related to block device setup.
Environment:
Host OS: Linux Mint 21.3
incus Version: 0.4
Linux gwy-rkurichi 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux