How do I add ioapic_ack=new to the Xen boot options in GRUB?

Is there a way to add this in dom0 or do I need to reboot?

I see a file grub.cfg with things in it but at the top it says “#never edit this”

already solved flagged for mod removal

No such thing as removal of old posts. If you want to make this thread useful, posting the solution you found is a good way to do that.

it’s also not already resolved

the solution turns the screen black or wasn’t implemented correctly

this is the solution, the black screen could be a typo

Append this line to the /etc/default/grub in dom0:

GRUB_CMDLINE_XEN_DEFAULT="$GRUB_CMDLINE_XEN_DEFAULT ioapic_ack=new"

And run this command in dom0:

sudo grub2-mkconfig -o /boot/grub2/grub.cfg