What is involved in adding new CPU support?

Hi everyone, I am interested in adding Ryzen/Ryzen 2 / Ryzen 3 CPU support to OVirt. I've seen a few references on the net to people adding in EPYC support by updating a PostgresSQL DB table (e.g. https://lists.ovirt.org/archives/list/users@ovirt.org/thread/T3XL6NU7SUPYLYF... ). Would this really be all that is needed? If so, how do I determine the correct string to add to the table? If EYPC is "7:AMD EPYC:svm,nx,model_EPYC:EPYC:x86_64;", would Ryzen be something like "7:AMD RYZEN:svm,nx,model_RYZEN:RYZEN:x86_64;"? --Matt

IIRC, oVirt is getting the CPU support from libvirt, so if libvirt supports it, oVirt should support it. Regarding AMD - I didn't see any new patches from AMD for the new Zen-2 support, and I'm not sure if something changed from Zen-1/Zen+ regarding virtualization... On Sat, Jul 27, 2019 at 11:16 AM Matt Mossholder <matt@mossholder.com> wrote:
Hi everyone, I am interested in adding Ryzen/Ryzen 2 / Ryzen 3 CPU support to OVirt. I've seen a few references on the net to people adding in EPYC support by updating a PostgresSQL DB table (e.g. https://lists.ovirt.org/archives/list/users@ovirt.org/thread/T3XL6NU7SUPYLYF... ).
Would this really be all that is needed? If so, how do I determine the correct string to add to the table? If EYPC is "7:AMD EPYC:svm,nx,model_EPYC:EPYC:x86_64;", would Ryzen be something like "7:AMD RYZEN:svm,nx,model_RYZEN:RYZEN:x86_64;"?
--Matt _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/BUH523TDYZGTGZ...

On 27 Jul 2019, at 10:57, Hetz Ben Hamo <hetz@hetz.biz> wrote:
IIRC, oVirt is getting the CPU support from libvirt, so if libvirt supports it, oVirt should support it.
yes. And if host kernel supports it And if qemu supports it With the additional config similar to the one below…
Regarding AMD - I didn't see any new patches from AMD for the new Zen-2 support, and I'm not sure if something changed from Zen-1/Zen+ regarding virtualization...
On Sat, Jul 27, 2019 at 11:16 AM Matt Mossholder <matt@mossholder.com <mailto:matt@mossholder.com>> wrote: Hi everyone, I am interested in adding Ryzen/Ryzen 2 / Ryzen 3 CPU support to OVirt. I've seen a few references on the net to people adding in EPYC support by updating a PostgresSQL DB table (e.g. https://lists.ovirt.org/archives/list/users@ovirt.org/thread/T3XL6NU7SUPYLYF... <https://lists.ovirt.org/archives/list/users@ovirt.org/thread/T3XL6NU7SUPYLYFL4TEKLOZTBWY6ID3S/>).
Would this really be all that is needed? If so, how do I determine the correct string to add to the table? If EYPC is "7:AMD EPYC:svm,nx,model_EPYC:EPYC:x86_64;", would Ryzen be something like "7:AMD RYZEN:svm,nx,model_RYZEN:RYZEN:x86_64;"?
--Matt _______________________________________________ Devel mailing list -- devel@ovirt.org <mailto:devel@ovirt.org> To unsubscribe send an email to devel-leave@ovirt.org <mailto:devel-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ <https://www.ovirt.org/site/privacy-policy/> oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/> List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/BUH523TDYZGTGZ... <https://lists.ovirt.org/archives/list/devel@ovirt.org/message/BUH523TDYZGTGZSP4P5DZ4VEQ2BIN7FP/> _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/DLX6YU5XHGLNNL...
participants (3)
-
Hetz Ben Hamo
-
Matt Mossholder
-
Michal Skrivanek