[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-05-08 Thread Bryce Harrington
** Tags removed: server-todo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2048517 Title: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-04-24 Thread Mauricio Faria de Oliveira
Hi Giuseppe, That's good news; thanks for testing! Yes, that's correct. I'll review the patch for SRU considerations (e.g., potential side-effects/regressions for existing users, not always directly clear from the code changes) and proceed if all is OK. ** Also affects: nova (Ubuntu)

[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-04-23 Thread Giuseppe Petralia
Hello Mauricio, thanks for providing the nova patch. It worked as expected. I installed on a node with xsaves enabled and updated nova.conf # dpkg -l | grep nova ii nova-api-metadata 2:21.2.4-0ubuntu2.7~ppa3 all OpenStack Compute -

[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-04-22 Thread Mauricio Faria de Oliveira
Hi Giuseppe, Please test nova version 2:21.2.4-0ubuntu2.7~ppa3 in the PPA. (It's finished building and should be published in some time.) The config change should be something along the lines of `cpu_model_extra_flags = -xsaves` I couldn't test the package/functionality yet, but all of the

[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-04-20 Thread Mauricio Faria de Oliveira
Hmm, sorry, please hold; the unit tests caught an error. I'll check that on Monday. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2048517 Title: EPYC-Rome model without XSAVES may break live

[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-04-20 Thread Mauricio Faria de Oliveira
Hi Giuseppe, You're right, libvirt checks the specified model against its known models. However, the EPYC-Rome (not-v4) doesn't specify 'xsaves', just EPYC-Milan, so it _seems_ the feature came from the default with cpu_model host-model, which perhaps found EPYC Milan model closer to the host

[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-04-16 Thread Giuseppe Petralia
One thing I notice is that the libvirt xml from EPYC at /usr/share/libvirt/cpu_map/x86_EPYC-Rome.xml ofc is not updated but also a new one for using -v4 is not rendered. That means I can't instruct nova to use EPYC-Rome-v4 with # grep -i epyc /etc/nova/nova.conf cpu_model = EPYC-Rome-v4 because

[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-04-16 Thread Giuseppe Petralia
Hello Sergio, thanks for providing the patch. I have installed qemu on my test machine. The new epyc-rome-v4 is now listed by qemu ``` # qemu-system-x86_64 -enable-kvm -cpu help| grep -i epyc-rome-v x86 EPYC-Rome-v1 AMD EPYC-Rome Processor x86 EPYC-Rome-v2

[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-04-12 Thread Sergio Durigan Junior
Hello Giuseppe, Thank you. I went ahead and backported the necessary patches. In total, I had to backport the following upstream commits: fb00aa61267c8b9c57a2d1a1fa1e336d02e3bcd1 d7c72735f618a7ee27ee109d8b1468193734606a cca0a000d06f897411a8af4402e5d0522bbe450b I uploaded a version of QEMU

[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-04-10 Thread Sergio Durigan Junior
** Changed in: qemu (Ubuntu) Assignee: (unassigned) => Sergio Durigan Junior (sergiodj) ** Tags added: server-todo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2048517 Title: EPYC-Rome model

[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-04-09 Thread Giuseppe Petralia
Hello Sergio, I can help with testing. I have access to EPYC-Rome CPU machines. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2048517 Title: EPYC-Rome model without XSAVES may break live

[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-04-08 Thread Sergio Durigan Junior
Hello Jan, Thank you for reporting this bug, and for providing a good initial analysis of the problem. Would you have access to a host with an EPYC-Rome CPU where you can run some tests? This is something that needs to be done in order to proceed here, especially if we indeed decide to SRU this

[Bug 2048517] Re: EPYC-Rome model without XSAVES may break live migration since the removal of the flag on the physical CPU

2024-04-02 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: qemu (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2048517 Title: