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 <wmcdon...@gmail.com> 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, <pepeb...@gmail.com> 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|  pepeb...@gmail.com
>>  ~~~~     Javier Perez
>>  ~~~~          While the night runs
>>  ~~~~          toward the day...
>>   m m       Pepebuho watches
>>                 from his high perch.
>> --
>> _______________________________________________
>> users mailing list -- users@lists.fedoraproject.org
>> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>> 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@lists.fedoraproject.org
>> Do not reply to spam, report it:
>> https://pagure.io/fedora-infrastructure/new_issue
>>
>
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to