Failed to launch Windows 11 VM using LXD due to an error related to block device setup

Description:
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 LXD. However, I encountered the following error during the VM launch:

lxc 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:

  1. Followed the steps outlined in the tutorial to set up a Windows 11 VM using LXD.
  2. 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
  • LXD Version: 5.19
  • 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

Addittional information:

lxc info --show-log win11

Name: win11
Status: STOPPED
Type: virtual-machine
Architecture: x86_64
Created: 2024/01/15 15:22 GMT

Log:

Could any one help please

I’m sorry but given the recent actions from Canonical regarding LXD:

We really can’t be providing support to LXD users on this forum anymore.

You may want to consider switching to Incus instead, or if you’d like to stay on LXD, you should reach out on the Canonical forum instead.

Sorry about that!

@stgraber Thanks for letting me know about lxd’s state.

I have uninstalled lxd and i have installed incus.

However I am still facing the same issue.

I have raised an issue

please close this lxd issue