Grub changed?

I noticed that my grub after a recent update has this:
. /etc/default/grub.qubes-kernel-vm-support
can someone please explain what is that and why is it appeared all of the sudden?
I also noticed some other changes within it, but I guess it’s all related.

Also, how can I preserve my smt=on setting, so it won’t change back to smt=off please?

That file existing since 2019. Here is its source:

If you take a look into commit history (and notes), it should provide some background on why it is necessary and what it does.

Take a look at /etc/default/grub in dom0. And look for GRUB_CMDLINE_XEN_DEFAULT

I just don’t really recall that line from before, I’m pretty sure it wasn’t there before the update.

Also, I had smt=on before the update within the GRUB_XMDLINE_XEN_DEFAULT, but after the update it added at the bottom new GRUB_XMDLINE_XEN_DEFAULT with smt=off

You need to add the smt=on line after smt=off.

The update script checks if the file contains smt=off, if it’s missing it will be added to grub.

Thank you!