Re: Virtualization and older CPUs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



And... now I'm on a machine with libvirt.

From man virt-install:

>   --cpu
>       Syntax: --cpu  MODEL[,+feature][,-feature][,match=MATCH][,vendor=VEN‐
>       DOR],...
>
>       Use --cpu=? to see a list of all available sub options.  Complete de‐
>       tails at https://libvirt.org/formatdomain.html#elementsCPU

And then from that link: https://libvirt.org/formatdomain.html#cpu-model-and-topology

> model
>
> The content of the model element specifies CPU model requested by the guest. 
> The list of available CPU models and their definition can be found in directory cpu_map, 
> installed in libvirt's data directory.

Next, doing a find for cpu_map under /usr throws out /usr/share/libvirt/cpu_map, which isn't owned by any package but is full of XML filed owned by libvirt-libs:

wmcdonald@fedora:~$ ls -l /usr/share/libvirt/cpu_map/x8* | head
-rw-r--r--. 1 root root   160 Mar  1 11:19 /usr/share/libvirt/cpu_map/x86_486.xml
-rw-r--r--. 1 root root   724 Mar  1 11:19 /usr/share/libvirt/cpu_map/x86_athlon.xml
-rw-r--r--. 1 root root  1857 Mar  1 11:19 /usr/share/libvirt/cpu_map/x86_Broadwell-IBRS.xml
-rw-r--r--. 1 root root  1811 Mar  1 11:19 /usr/share/libvirt/cpu_map/x86_Broadwell-noTSX-IBRS.xml


On Tue, 23 Jul 2024 at 10:07, Will McDonald <wmcdonald@xxxxxxxxx> wrote:
This looks like if might help lead you toward an answer...

https://qemu-project.gitlab.io/qemu/system/qemu-cpu-models.html#libvirt-guest-xml



On Tue, 23 Jul 2024, 09:54 Javier Perez, <pepebuho@xxxxxxxxx> wrote:
Hi.
How can I tell virt-manager to create a VM but with a CPU of an older generation? I am trying to play an old game with wine but I keep getting crashes. Something about UMIP and SIDTs and similar stuff.
My plan is, given that my CPU is 14th generation, probably I could get away virtualizing a VM faking an older CPU without that feature.
My google-fu has not been that good, all I get is virtualizationn on old machines instead of how to virtualize an older CPU in a newer machine.

Thanks for pointing me on the right direction...

--
------------------------------
 /\_/\  
 |O O|  pepebuho@xxxxxxxxx
 ~~~~     Javier Perez
 ~~~~          While the night runs
 ~~~~          toward the day...
  m m       Pepebuho watches
                from his high perch.
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux