Added the attribute vendor_id to the cpu model

Introducing the attribute vendor_id to force the CPUID instruction
in a kvm guest to return the specified vendor.
This commit is contained in:
Hendrik Schwartke
2012-06-28 12:21:17 +02:00
committed by Michal Privoznik
parent 78290b1641
commit a3389319ba
5 changed files with 66 additions and 12 deletions

View File

@@ -116,6 +116,7 @@ virCapsPtr testQemuCapsInit(void) {
0, /* match */
(char *) "x86_64", /* arch */
(char *) "core2duo", /* model */
NULL, /* vendor_id */
0, /* fallback */
(char *) "Intel", /* vendor */
1, /* sockets */