Libvirt/qemu where does the information about CPU?

Interested in where you take Libvirt/qemu information about the processor name, and how it can be replaced. Should they have taken with Ali Intel confidential and many this conclusion of the name is not satisfied.
April 7th 20 at 11:04
2 answers
April 7th 20 at 11:06
Of man qemu-cpu-models
Respectively replaced using Host passthrough on some appropriate model from the list.
Specific model writes - jailyn.Jaskols commented on April 7th 20 at 11:09
April 7th 20 at 11:08
For different companies (Intel, AMD) and for different generations - ways of finding out the exact make of the processor is different. To the extent that the exact brand of the processor had to determine by circumstantial evidence the type of conveyor length, determined experimentally, self-modifying program (AFAIK - at Pentium it ended).

For modern processors, it is probably using PnP, which gives a code (number) of the manufacturer and the device. And then - in the program dB. table containing human-readable names for each brand of CPU.

You can check this by looking at the source code of the specified programs. If there is a file with the names - so I was right.

PS: And who, exactly, and why "such a conclusion of the name is not happy"?
AFAIK - on the Pentium it ended

Because there's a CPUID instructionthat returns a byte identification string in registers. - monique.Volkman commented on April 7th 20 at 11:11
@monique.Volkman, No. A production line was to track attempts of modifying the code that is already loaded into the processor. - brandon.Reynolds commented on April 7th 20 at 11:14
PS: And who, exactly, and why "such a conclusion of the name is not happy"?

Well, imagine: you rent a virtual server, you promised fault tolerance, RAID 1, uptime of 99.99999%, a couple of cores of Zeon or i7 processor. And there dismantle shit with Alec for a penny, collected in the old building from shit and sticks with avito, such a "server" under the table, and every Sunday mom Vineet cord from the wall outlet to wash the floors)))) of course anyone in this situation does not suit - luis.Haley commented on April 7th 20 at 11:17
@luis.Haley, Well, so productivity and uptime - visible. You can break the contract. - brandon.Reynolds commented on April 7th 20 at 11:20
@luis.Haley, you can on top-end hardware to make life unbearable. - Rahul.Bartoletti commented on April 7th 20 at 11:23
No.

@brandon.Reynoldsthat, no? The official manual of the Intel writes (volume 1 section 20 in this version):
Use the CPUID instruction for processor identification in the Pentium M processor family,
Pentium 4 processor family, Intel Xeon processor family, P6 family, Pentium processor,
and later Intel486 processors.
...
The CPUID instruction is not available in earlier IA-32 processors up through
the earlier Intel486 processors. For these processors, several other architectural
features can be exploited to identify the processor.
...
- monique.Volkman commented on April 7th 20 at 11:26
Experimental determination of the processor type along the length of the conveyor self-modifying program is over because the pipeline has grown to obscene proportions, and the producers inserted into the CPU circuit that monitored the modification of the already loaded into the pipeline code. - brandon.Reynolds commented on April 7th 20 at 11:29

Find more questions by tags LinuxKVMQEMU