Changes between Version 21 and Version 22 of TipAndDoc/VM/NestedVMM


Ignore:
Timestamp:
Apr 23, 2016 10:42:05 PM (8 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/VM/NestedVMM

    v21 v22  
    22 
    33 * [[Image(nestedvmm.png, 33%)]] 
     4 
     5 = /proc/cpuinfo = 
     6 * KVM nested environment 
     7 
     8 * M/B ASUS H97M-PLUS 
     9 * Core i7-4790 3.60GHz 
     10 
     11 * Arch Linux 4.2.5-1-ARCH x86_64 
     12 
     13 * /etc/libvirt/qemu/GUEST.xml 
     14{{{ 
     15  <cpu mode='host-model'> 
     16    <model fallback='allow'/> 
     17  </cpu> 
     18}}} 
     19 
     20 * Host (L0) 
     21{{{ 
     22processor       : 0 
     23vendor_id       : GenuineIntel 
     24cpu family      : 6 
     25model           : 60 
     26model name      : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz 
     27stepping        : 3 
     28microcode       : 0x1c 
     29cpu MHz         : 3600.421 
     30cache size      : 8192 KB 
     31physical id     : 0 
     32siblings        : 8 
     33core id         : 0 
     34cpu cores       : 4 
     35apicid          : 0 
     36initial apicid  : 0 
     37fpu             : yes 
     38fpu_exception   : yes 
     39cpuid level     : 13 
     40wp              : yes 
     41flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt 
     42bugs            : 
     43bogomips        : 7202.88 
     44clflush size    : 64 
     45cache_alignment : 64 
     46address sizes   : 39 bits physical, 48 bits virtual 
     47power management: 
     48}}} 
     49 * L1 Guest 
     50{{{ 
     51processor       : 0 
     52vendor_id       : GenuineIntel 
     53cpu family      : 6 
     54model           : 60 
     55model name      : Intel Core Processor (Haswell, no TSX) 
     56stepping        : 1 
     57microcode       : 0x1 
     58cpu MHz         : 3600.016 
     59cache size      : 4096 KB 
     60physical id     : 0 
     61siblings        : 1 
     62core id         : 0 
     63cpu cores       : 1 
     64apicid          : 0 
     65initial apicid  : 0 
     66fpu             : yes 
     67fpu_exception   : yes 
     68cpuid level     : 13 
     69wp              : yes 
     70flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat tpr_shadow vnmi flexpriority ept fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt 
     71bugs            : 
     72bogomips        : 7202.03 
     73clflush size    : 64 
     74cache_alignment : 64 
     75address sizes   : 40 bits physical, 48 bits virtual 
     76power management: 
     77}}} 
     78 * L2 Guest 
     79{{{ 
     80processor       : 0 
     81vendor_id       : GenuineIntel 
     82cpu family      : 6 
     83model           : 60 
     84model name      : Intel Core Processor (Haswell, no TSX) 
     85stepping        : 1 
     86microcode       : 0x1 
     87cpu MHz         : 3600.016 
     88cache size      : 4096 KB 
     89physical id     : 0 
     90siblings        : 1 
     91core id         : 0 
     92cpu cores       : 1 
     93apicid          : 0 
     94initial apicid  : 0 
     95fpu             : yes 
     96fpu_exception   : yes 
     97cpuid level     : 13 
     98wp              : yes 
     99flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat tpr_shadow vnmi flexpriority ept fsgsbase bmi1 avx2 smep bmi2 erms xsaveopt 
     100bugs            : 
     101bogomips        : 7202.03 
     102clflush size    : 64 
     103cache_alignment : 64 
     104address sizes   : 40 bits physical, 48 bits virtual 
     105power management: 
     106}}} 
     107 
     108 * CPU flags 
     109{{{ 
     110L0: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand            lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt 
     111L1: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush          mmx fxsr sse sse2 ss           syscall nx pdpe1gb rdtscp lm constant_tsc                       rep_good nopl                                  eagerfpu pni pclmulqdq                       vmx             ssse3 fma cx16           pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm     arat                    tpr_shadow vnmi flexpriority ept      fsgsbase            bmi1 avx2 smep bmi2 erms invpcid xsaveopt 
     112L2: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush          mmx fxsr sse sse2 ss           syscall nx         rdtscp lm constant_tsc                       rep_good nopl                                  eagerfpu pni pclmulqdq                       vmx             ssse3 fma cx16           pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm     arat                    tpr_shadow vnmi flexpriority ept      fsgsbase            bmi1 avx2 smep bmi2 erms         xsaveopt 
     113}}} 
    4114 
    5115 = VMware = 
     
    358468  * Fedora16のLiveCDでvirt-managerを起動し、下記サイトを参考にGUI上から設定を行った場合に、xmlに書き込まれる差分をそのまま適用してみた 
    359469  * うまく起動しない[[br]][[Image(xml-error.png,33%)]] 
    360  
    361  === /proc/cpuinfo === 
    362  * M/B ASUS H97M-PLUS 
    363  * Core i7-4790 3.60GHz 
    364  
    365  * Arch Linux 4.2.5-1-ARCH x86_64 
    366  
    367  * /etc/libvirt/qemu/GUEST.xml 
    368 {{{ 
    369   <cpu mode='host-model'> 
    370     <model fallback='allow'/> 
    371   </cpu> 
    372 }}} 
    373  
    374  * Host (L0) 
    375 {{{ 
    376 processor       : 0 
    377 vendor_id       : GenuineIntel 
    378 cpu family      : 6 
    379 model           : 60 
    380 model name      : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz 
    381 stepping        : 3 
    382 microcode       : 0x1c 
    383 cpu MHz         : 3600.421 
    384 cache size      : 8192 KB 
    385 physical id     : 0 
    386 siblings        : 8 
    387 core id         : 0 
    388 cpu cores       : 4 
    389 apicid          : 0 
    390 initial apicid  : 0 
    391 fpu             : yes 
    392 fpu_exception   : yes 
    393 cpuid level     : 13 
    394 wp              : yes 
    395 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt 
    396 bugs            : 
    397 bogomips        : 7202.88 
    398 clflush size    : 64 
    399 cache_alignment : 64 
    400 address sizes   : 39 bits physical, 48 bits virtual 
    401 power management: 
    402 }}} 
    403  * L1 Guest 
    404 {{{ 
    405 processor       : 0 
    406 vendor_id       : GenuineIntel 
    407 cpu family      : 6 
    408 model           : 60 
    409 model name      : Intel Core Processor (Haswell, no TSX) 
    410 stepping        : 1 
    411 microcode       : 0x1 
    412 cpu MHz         : 3600.016 
    413 cache size      : 4096 KB 
    414 physical id     : 0 
    415 siblings        : 1 
    416 core id         : 0 
    417 cpu cores       : 1 
    418 apicid          : 0 
    419 initial apicid  : 0 
    420 fpu             : yes 
    421 fpu_exception   : yes 
    422 cpuid level     : 13 
    423 wp              : yes 
    424 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat tpr_shadow vnmi flexpriority ept fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt 
    425 bugs            : 
    426 bogomips        : 7202.03 
    427 clflush size    : 64 
    428 cache_alignment : 64 
    429 address sizes   : 40 bits physical, 48 bits virtual 
    430 power management: 
    431 }}} 
    432  * L2 Guest 
    433 {{{ 
    434 processor       : 0 
    435 vendor_id       : GenuineIntel 
    436 cpu family      : 6 
    437 model           : 60 
    438 model name      : Intel Core Processor (Haswell, no TSX) 
    439 stepping        : 1 
    440 microcode       : 0x1 
    441 cpu MHz         : 3600.016 
    442 cache size      : 4096 KB 
    443 physical id     : 0 
    444 siblings        : 1 
    445 core id         : 0 
    446 cpu cores       : 1 
    447 apicid          : 0 
    448 initial apicid  : 0 
    449 fpu             : yes 
    450 fpu_exception   : yes 
    451 cpuid level     : 13 
    452 wp              : yes 
    453 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm arat tpr_shadow vnmi flexpriority ept fsgsbase bmi1 avx2 smep bmi2 erms xsaveopt 
    454 bugs            : 
    455 bogomips        : 7202.03 
    456 clflush size    : 64 
    457 cache_alignment : 64 
    458 address sizes   : 40 bits physical, 48 bits virtual 
    459 power management: 
    460 }}} 
    461  
    462  * CPU flags 
    463 {{{ 
    464 L0: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand            lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt 
    465 L1: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush          mmx fxsr sse sse2 ss           syscall nx pdpe1gb rdtscp lm constant_tsc                       rep_good nopl                                  eagerfpu pni pclmulqdq                       vmx             ssse3 fma cx16           pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm     arat                    tpr_shadow vnmi flexpriority ept      fsgsbase            bmi1 avx2 smep bmi2 erms invpcid xsaveopt 
    466 L2: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush          mmx fxsr sse sse2 ss           syscall nx         rdtscp lm constant_tsc                       rep_good nopl                                  eagerfpu pni pclmulqdq                       vmx             ssse3 fma cx16           pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm     arat                    tpr_shadow vnmi flexpriority ept      fsgsbase            bmi1 avx2 smep bmi2 erms         xsaveopt 
    467 }}}