差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
linux:qemu-kvm [2022/09/25 04:03] – [仮想マシンマネージャー] ともやん | linux:qemu-kvm [2023/09/21 07:25] (現在) – [付録] ともやん | ||
---|---|---|---|
行 4: | 行 4: | ||
[[linux: | [[linux: | ||
[[linux: | [[linux: | ||
- | [[linux: | ||
[[linux: | [[linux: | ||
+ | [[linux: | ||
[[linux: | [[linux: | ||
[[linux: | [[linux: | ||
行 29: | 行 29: | ||
仮想マシンのディスクイメージは / | 仮想マシンのディスクイメージは / | ||
イメージを qcow2 形式で作成する事で、割り当てサイズではなく実際に使用されたサイズになるイメージを作成する。(ディスク容量を節約できる) | イメージを qcow2 形式で作成する事で、割り当てサイズではなく実際に使用されたサイズになるイメージを作成する。(ディスク容量を節約できる) | ||
- | <code> | + | <WRAP color_term> |
- | $ sudo qemu-img create -f qcow2 / | + | <WRAP color_command>< |
- | Formatting '/ | + | <b class=GRN> |
- | </code> | + | </ |
- | ※GUIツールからだと形式の指定ができないので、予めコマンドでイメージを作成しておく。 | + | <WRAP color_result>< |
+ | Formatting '/ | ||
+ | </pre></ | ||
+ | </WRAP> | ||
+ | ※GUIツールからも qcow2 形式の指定が出来るようになりましたが、GUI標準ではスパースファイルになる。 | ||
+ | [[linux: | ||
+ | |||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | 合計 21887804 | ||
+ | drwx--x--x. 1 root root 174 9月 1 05:55 . | ||
+ | drwxr-xr-x. 1 root root 104 5月 7 09:00 .. | ||
+ | -rw------- | ||
+ | -rw-r--r-- | ||
+ | </ | ||
+ | </ | ||
==== 仮想マシンマネージャーによる操作 ==== | ==== 仮想マシンマネージャーによる操作 ==== | ||
- 仮想マシンマネージャー起動時に、管理者認証を行って QEMU/KVM に接続する🤤 | - 仮想マシンマネージャー起動時に、管理者認証を行って QEMU/KVM に接続する🤤 | ||
- ホスト (QEMU/KVM - qemu: | - ホスト (QEMU/KVM - qemu: | ||
+ | |||
<WRAP left 60% column> | <WRAP left 60% column> | ||
{{: | {{: | ||
行 47: | 行 66: | ||
</ | </ | ||
+ | |||
+ | ===== XML 編集の有効化 ===== | ||
+ | 初期設定では XML 編集は無効化されている🤔\\ | ||
+ | < | ||
+ | ⚠XML 編集が ’設定' | ||
+ | </ | ||
+ | <WRAP zoomimg w600 x1_3> | ||
+ | |||
+ | **仮想マシンマネージャー (virt-manager)** の XML 編集を有効化するには...🤤\\ | ||
+ | - virt-manager を起動する。 | ||
+ | - メニューから [編集] - [設定] (Preferences) をクリックして「設定」画面を開く。 | ||
+ | - 「設定」画面の [XML 編集を有効にする] をオンにして、[閉じる] をクリックする。\\ <WRAP zoomimg w400 x1_6> | ||
+ | - 任意の仮想マシンをダブルクリックして、[XML] タブで XML を編集できることを確認する。\\ <WRAP zoomimg w400 x1_6> | ||
===== 仮想マシンをコピーして同一KVMホスト上で動かす場合 ===== | ===== 仮想マシンをコピーして同一KVMホスト上で動かす場合 ===== | ||
仮想マシンのリストを確認する。 | 仮想マシンのリストを確認する。 | ||
- | <code> | + | <WRAP color_term> |
- | $ sudo virsh list --all | + | <WRAP color_command>< |
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
| | ||
---------------------------------------------------- | ---------------------------------------------------- | ||
| | ||
| | ||
- | </ | + | </ |
+ | </ | ||
コピーしたい仮想マシンの xml をダンプする。 | コピーしたい仮想マシンの xml をダンプする。 | ||
- | <code> | + | <WRAP color_term> |
- | $ sudo virsh dumpxml green-vm-base | + | <WRAP color_command>< |
- | </code> | + | <b class=GRN> |
- | <sxh xml collapse: | + | </pre></ |
+ | <WRAP color_result_long>< | ||
<domain type=' | <domain type=' | ||
< | < | ||
行 127: | 行 165: | ||
</ | </ | ||
</ | </ | ||
- | </sxh> | + | </code></ |
+ | </ | ||
uuidgen コマンドで新しい uuid を生成する。 | uuidgen コマンドで新しい uuid を生成する。 | ||
- | <code> | + | <WRAP color_term> |
- | $ uuidgen | + | <WRAP color_command>< |
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
d3492379-bacd-45cc-8b17-77b7ed3d6e50 | d3492379-bacd-45cc-8b17-77b7ed3d6e50 | ||
- | </ | + | </ |
+ | </ | ||
新しい仮想マシンの xml ファイルを作成する。 | 新しい仮想マシンの xml ファイルを作成する。 | ||
- | <code> | + | <WRAP color_term> |
- | $ sudo vi / | + | <WRAP color_command>< |
- | </code> | + | <b class=GRN> |
+ | </pre></ | ||
+ | </ | ||
新しい仮想マシンの xml ファイルの name, uuid, devices-disk-source, | 新しい仮想マシンの xml ファイルの name, uuid, devices-disk-source, | ||
- | <sxh xml collapse: | + | <WRAP color_term> |
+ | <WRAP color_result_long>< | ||
<domain type=' | <domain type=' | ||
< | < | ||
行 204: | 行 253: | ||
</ | </ | ||
</ | </ | ||
- | </sxh> | + | </code></ |
+ | </ | ||
新しい仮想マシン用に仮想ディスクをコピーする。 | 新しい仮想マシン用に仮想ディスクをコピーする。 | ||
- | <code> | + | <WRAP color_term> |
- | $ sudo cp / | + | <WRAP color_command>< |
- | </code> | + | <b class=GRN> |
+ | </pre></ | ||
+ | <WRAP color_result>< | ||
+ | </ | ||
+ | </ | ||
KVMホストに反映させる。 | KVMホストに反映させる。 | ||
- | <code> | + | <WRAP color_term> |
- | $ sudo virsh define / | + | <WRAP color_command>< |
- | </code> | + | <b class=GRN> |
+ | </pre></ | ||
+ | <WRAP color_result>< | ||
+ | </ | ||
+ | </ | ||
KVMホストへの反映を確認する。 | KVMホストへの反映を確認する。 | ||
- | <code> | + | <WRAP color_term> |
- | $ sudo virsh list --all | + | <WRAP color_command>< |
- | | + | <b class=GRN> |
+ | </ | ||
+ | <WRAP color_result>< | ||
+ | Id 名前 | ||
---------------------------------------------------- | ---------------------------------------------------- | ||
| | ||
| | ||
| | ||
- | </ | + | </ |
+ | </ | ||
===== 仮想マシンを異なるKVMホストへ移動する場合 ===== | ===== 仮想マシンを異なるKVMホストへ移動する場合 ===== | ||
仮想マシンのリストを確認する。 | 仮想マシンのリストを確認する。 | ||
行 318: | 行 384: | ||
/dev/nbd0 disconnected | /dev/nbd0 disconnected | ||
</ | </ | ||
- | ===== QEMU で 指定可能な NIC モデル ===== | + | ===== QEMU (x86_64) でエミュレーション可能な CPU 一覧 ===== |
- | < | + | <WRAP color_term> |
- | <code> | + | <WRAP color_command>< |
- | $ qemu-system-x86_64 -net nic,model=? | + | <b class=GRN> |
+ | </ | ||
+ | <WRAP color_result_long>< | ||
+ | Available CPUs: | ||
+ | x86 486 | ||
+ | x86 486-v1 | ||
+ | x86 Broadwell | ||
+ | x86 Broadwell-IBRS | ||
+ | x86 Broadwell-noTSX | ||
+ | x86 Broadwell-noTSX-IBRS | ||
+ | x86 Broadwell-v1 | ||
+ | x86 Broadwell-v2 | ||
+ | x86 Broadwell-v3 | ||
+ | x86 Broadwell-v4 | ||
+ | x86 Cascadelake-Server | ||
+ | x86 Cascadelake-Server-noTSX | ||
+ | x86 Cascadelake-Server-v1 | ||
+ | x86 Cascadelake-Server-v2 | ||
+ | x86 Cascadelake-Server-v3 | ||
+ | x86 Cascadelake-Server-v4 | ||
+ | x86 Cascadelake-Server-v5 | ||
+ | x86 Conroe | ||
+ | x86 Conroe-v1 | ||
+ | x86 Cooperlake | ||
+ | x86 Cooperlake-v1 | ||
+ | x86 Cooperlake-v2 | ||
+ | x86 Denverton | ||
+ | x86 Denverton-v1 | ||
+ | x86 Denverton-v2 | ||
+ | x86 Denverton-v3 | ||
+ | x86 Dhyana | ||
+ | x86 Dhyana-v1 | ||
+ | x86 Dhyana-v2 | ||
+ | x86 EPYC (alias configured by machine type) | ||
+ | x86 EPYC-IBPB | ||
+ | x86 EPYC-Milan | ||
+ | x86 EPYC-Milan-v1 | ||
+ | x86 EPYC-Rome | ||
+ | x86 EPYC-Rome-v1 | ||
+ | x86 EPYC-Rome-v2 | ||
+ | x86 EPYC-v1 | ||
+ | x86 EPYC-v2 | ||
+ | x86 EPYC-v3 | ||
+ | x86 Haswell | ||
+ | x86 Haswell-IBRS | ||
+ | x86 Haswell-noTSX | ||
+ | x86 Haswell-noTSX-IBRS | ||
+ | x86 Haswell-v1 | ||
+ | x86 Haswell-v2 | ||
+ | x86 Haswell-v3 | ||
+ | x86 Haswell-v4 | ||
+ | x86 Icelake-Client | ||
+ | x86 Icelake-Client-noTSX | ||
+ | x86 Icelake-Client-v1 | ||
+ | x86 Icelake-Client-v2 | ||
+ | x86 Icelake-Client-v3 | ||
+ | x86 Icelake-Server | ||
+ | x86 Icelake-Server-noTSX | ||
+ | x86 Icelake-Server-v1 | ||
+ | x86 Icelake-Server-v2 | ||
+ | x86 Icelake-Server-v3 | ||
+ | x86 Icelake-Server-v4 | ||
+ | x86 Icelake-Server-v5 | ||
+ | x86 Icelake-Server-v6 | ||
+ | x86 IvyBridge | ||
+ | x86 IvyBridge-IBRS | ||
+ | x86 IvyBridge-v1 | ||
+ | x86 IvyBridge-v2 | ||
+ | x86 KnightsMill | ||
+ | x86 KnightsMill-v1 | ||
+ | x86 Nehalem | ||
+ | x86 Nehalem-IBRS | ||
+ | x86 Nehalem-v1 | ||
+ | x86 Nehalem-v2 | ||
+ | x86 Opteron_G1 | ||
+ | x86 Opteron_G1-v1 | ||
+ | x86 Opteron_G2 | ||
+ | x86 Opteron_G2-v1 | ||
+ | x86 Opteron_G3 | ||
+ | x86 Opteron_G3-v1 | ||
+ | x86 Opteron_G4 | ||
+ | x86 Opteron_G4-v1 | ||
+ | x86 Opteron_G5 | ||
+ | x86 Opteron_G5-v1 | ||
+ | x86 Penryn | ||
+ | x86 Penryn-v1 | ||
+ | x86 SandyBridge | ||
+ | x86 SandyBridge-IBRS | ||
+ | x86 SandyBridge-v1 | ||
+ | x86 SandyBridge-v2 | ||
+ | x86 Skylake-Client | ||
+ | x86 Skylake-Client-IBRS | ||
+ | x86 Skylake-Client-noTSX-IBRS | ||
+ | x86 Skylake-Client-v1 | ||
+ | x86 Skylake-Client-v2 | ||
+ | x86 Skylake-Client-v3 | ||
+ | x86 Skylake-Client-v4 | ||
+ | x86 Skylake-Server | ||
+ | x86 Skylake-Server-IBRS | ||
+ | x86 Skylake-Server-noTSX-IBRS | ||
+ | x86 Skylake-Server-v1 | ||
+ | x86 Skylake-Server-v2 | ||
+ | x86 Skylake-Server-v3 | ||
+ | x86 Skylake-Server-v4 | ||
+ | x86 Skylake-Server-v5 | ||
+ | x86 Snowridge | ||
+ | x86 Snowridge-v1 | ||
+ | x86 Snowridge-v2 | ||
+ | x86 Snowridge-v3 | ||
+ | x86 Snowridge-v4 | ||
+ | x86 Westmere | ||
+ | x86 Westmere-IBRS | ||
+ | x86 Westmere-v1 | ||
+ | x86 Westmere-v2 | ||
+ | x86 athlon | ||
+ | x86 athlon-v1 | ||
+ | x86 core2duo | ||
+ | x86 core2duo-v1 | ||
+ | x86 coreduo | ||
+ | x86 coreduo-v1 | ||
+ | x86 kvm32 | ||
+ | x86 kvm32-v1 | ||
+ | x86 kvm64 | ||
+ | x86 kvm64-v1 | ||
+ | x86 n270 (alias configured by machine type) | ||
+ | x86 n270-v1 | ||
+ | x86 pentium | ||
+ | x86 pentium-v1 | ||
+ | x86 pentium2 | ||
+ | x86 pentium2-v1 | ||
+ | x86 pentium3 | ||
+ | x86 pentium3-v1 | ||
+ | x86 phenom | ||
+ | x86 phenom-v1 | ||
+ | x86 qemu32 | ||
+ | x86 qemu32-v1 | ||
+ | x86 qemu64 | ||
+ | x86 qemu64-v1 | ||
+ | x86 base base CPU model type with no features enabled | ||
+ | x86 host processor with all supported host features | ||
+ | x86 max | ||
+ | |||
+ | Recognized CPUID flags: | ||
+ | 3dnow 3dnowext 3dnowprefetch abm ace2 ace2-en acpi adx aes amd-no-ssb | ||
+ | amd-ssbd amd-stibp amx-bf16 amx-int8 amx-tile apic arat arch-capabilities | ||
+ | avic avx avx-vnni avx2 avx512-4fmaps avx512-4vnniw avx512-bf16 | ||
+ | avx512-fp16 avx512-vp2intersect avx512-vpopcntdq avx512bitalg avx512bw | ||
+ | avx512cd avx512dq avx512er avx512f avx512ifma avx512pf avx512vbmi | ||
+ | avx512vbmi2 avx512vl avx512vnni bmi1 bmi2 bus-lock-detect cid cldemote | ||
+ | clflush clflushopt clwb clzero cmov cmp-legacy core-capability cr8legacy | ||
+ | cx16 cx8 dca de decodeassists ds ds-cpl dtes64 erms est extapic f16c | ||
+ | flushbyasid fma fma4 fpu fsgsbase fsrm full-width-write fxsr fxsr-opt | ||
+ | gfni hle ht hypervisor ia64 ibpb ibrs ibrs-all ibs intel-pt intel-pt-lip | ||
+ | invpcid invtsc kvm-asyncpf kvm-asyncpf-int kvm-hint-dedicated kvm-mmu | ||
+ | kvm-msi-ext-dest-id kvm-nopiodelay kvm-poll-control kvm-pv-eoi kvm-pv-ipi | ||
+ | kvm-pv-sched-yield kvm-pv-tlb-flush kvm-pv-unhalt kvm-steal-time kvmclock | ||
+ | kvmclock kvmclock-stable-bit la57 lahf-lm lbrv lm lwp mca mce md-clear | ||
+ | mds-no misalignsse mmx mmxext monitor movbe movdir64b movdiri mpx msr | ||
+ | mtrr nodeid-msr npt nrip-save nx osvw pae pat pause-filter pbe pcid | ||
+ | pclmulqdq pcommit pdcm pdpe1gb perfctr-core perfctr-nb pfthreshold pge | ||
+ | phe phe-en pks pku pmm pmm-en pn pni popcnt pschange-mc-no pse pse36 | ||
+ | rdctl-no rdpid rdrand rdseed rdtscp rsba rtm sep serialize sgx sgx-debug | ||
+ | sgx-exinfo sgx-kss sgx-mode64 sgx-provisionkey sgx-tokenkey sgx1 sgx2 | ||
+ | sgxlc sha-ni skinit skip-l1dfl-vmentry smap smep smx spec-ctrl | ||
+ | split-lock-detect ss ssb-no ssbd sse sse2 sse4.1 sse4.2 sse4a ssse3 stibp | ||
+ | svm svm-lock svme-addr-chk syscall taa-no tbm tce tm tm2 topoext tsc | ||
+ | tsc-adjust tsc-deadline tsc-scale tsx-ctrl tsx-ldtrk umip v-vmsave-vmload | ||
+ | vaes vgif virt-ssbd vmcb-clean vme vmx vmx-activity-hlt | ||
+ | vmx-activity-shutdown vmx-activity-wait-sipi vmx-apicv-register | ||
+ | vmx-apicv-vid vmx-apicv-x2apic vmx-apicv-xapic vmx-cr3-load-noexit | ||
+ | vmx-cr3-store-noexit vmx-cr8-load-exit vmx-cr8-store-exit vmx-desc-exit | ||
+ | vmx-encls-exit vmx-entry-ia32e-mode vmx-entry-load-bndcfgs | ||
+ | vmx-entry-load-efer vmx-entry-load-pat vmx-entry-load-perf-global-ctrl | ||
+ | vmx-entry-load-pkrs vmx-entry-load-rtit-ctl vmx-entry-noload-debugctl | ||
+ | vmx-ept vmx-ept-1gb vmx-ept-2mb vmx-ept-advanced-exitinfo | ||
+ | vmx-ept-execonly vmx-eptad vmx-eptp-switching vmx-exit-ack-intr | ||
+ | vmx-exit-clear-bndcfgs vmx-exit-clear-rtit-ctl vmx-exit-load-efer | ||
+ | vmx-exit-load-pat vmx-exit-load-perf-global-ctrl vmx-exit-load-pkrs | ||
+ | vmx-exit-nosave-debugctl vmx-exit-save-efer vmx-exit-save-pat | ||
+ | vmx-exit-save-preemption-timer vmx-flexpriority vmx-hlt-exit vmx-ins-outs | ||
+ | vmx-intr-exit vmx-invept vmx-invept-all-context vmx-invept-single-context | ||
+ | vmx-invept-single-context vmx-invept-single-context-noglobals | ||
+ | vmx-invlpg-exit vmx-invpcid-exit vmx-invvpid vmx-invvpid-all-context | ||
+ | vmx-invvpid-single-addr vmx-io-bitmap vmx-io-exit vmx-monitor-exit | ||
+ | vmx-movdr-exit vmx-msr-bitmap vmx-mtf vmx-mwait-exit vmx-nmi-exit | ||
+ | vmx-page-walk-4 vmx-page-walk-5 vmx-pause-exit vmx-ple vmx-pml | ||
+ | vmx-posted-intr vmx-preemption-timer vmx-rdpmc-exit vmx-rdrand-exit | ||
+ | vmx-rdseed-exit vmx-rdtsc-exit vmx-rdtscp-exit vmx-secondary-ctls | ||
+ | vmx-shadow-vmcs vmx-store-lma vmx-true-ctls vmx-tsc-offset | ||
+ | vmx-tsc-scaling vmx-unrestricted-guest vmx-vintr-pending vmx-vmfunc | ||
+ | vmx-vmwrite-vmexit-fields vmx-vnmi vmx-vnmi-pending vmx-vpid | ||
+ | vmx-wbinvd-exit vmx-xsaves vmx-zero-len-inject vpclmulqdq waitpkg | ||
+ | wbnoinvd wdt x2apic xcrypt xcrypt-en xfd xgetbv1 xop xsave xsavec | ||
+ | xsaveerptr xsaveopt xsaves xstore xstore-en xtpr | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <WRAP color_term> | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result_long>< | ||
+ | Available CPUs: | ||
+ | x86 486 | ||
+ | x86 486-v1 | ||
+ | x86 Broadwell | ||
+ | x86 Broadwell-IBRS | ||
+ | x86 Broadwell-noTSX | ||
+ | x86 Broadwell-noTSX-IBRS | ||
+ | x86 Broadwell-v1 | ||
+ | x86 Broadwell-v2 | ||
+ | x86 Broadwell-v3 | ||
+ | x86 Broadwell-v4 | ||
+ | x86 Cascadelake-Server | ||
+ | x86 Cascadelake-Server-noTSX | ||
+ | x86 Cascadelake-Server-v1 | ||
+ | x86 Cascadelake-Server-v2 | ||
+ | x86 Cascadelake-Server-v3 | ||
+ | x86 Cascadelake-Server-v4 | ||
+ | x86 Cascadelake-Server-v5 | ||
+ | x86 Conroe | ||
+ | x86 Conroe-v1 | ||
+ | x86 Cooperlake | ||
+ | x86 Cooperlake-v1 | ||
+ | x86 Cooperlake-v2 | ||
+ | x86 Denverton | ||
+ | x86 Denverton-v1 | ||
+ | x86 Denverton-v2 | ||
+ | x86 Denverton-v3 | ||
+ | x86 Dhyana | ||
+ | x86 Dhyana-v1 | ||
+ | x86 Dhyana-v2 | ||
+ | x86 EPYC (alias configured by machine type) | ||
+ | x86 EPYC-IBPB | ||
+ | x86 EPYC-Milan | ||
+ | x86 EPYC-Milan-v1 | ||
+ | x86 EPYC-Rome | ||
+ | x86 EPYC-Rome-v1 | ||
+ | x86 EPYC-Rome-v2 | ||
+ | x86 EPYC-v1 | ||
+ | x86 EPYC-v2 | ||
+ | x86 EPYC-v3 | ||
+ | x86 Haswell | ||
+ | x86 Haswell-IBRS | ||
+ | x86 Haswell-noTSX | ||
+ | x86 Haswell-noTSX-IBRS | ||
+ | x86 Haswell-v1 | ||
+ | x86 Haswell-v2 | ||
+ | x86 Haswell-v3 | ||
+ | x86 Haswell-v4 | ||
+ | x86 Icelake-Client | ||
+ | x86 Icelake-Client-noTSX | ||
+ | x86 Icelake-Client-v1 | ||
+ | x86 Icelake-Client-v2 | ||
+ | x86 Icelake-Client-v3 | ||
+ | x86 Icelake-Server | ||
+ | x86 Icelake-Server-noTSX | ||
+ | x86 Icelake-Server-v1 | ||
+ | x86 Icelake-Server-v2 | ||
+ | x86 Icelake-Server-v3 | ||
+ | x86 Icelake-Server-v4 | ||
+ | x86 Icelake-Server-v5 | ||
+ | x86 Icelake-Server-v6 | ||
+ | x86 IvyBridge | ||
+ | x86 IvyBridge-IBRS | ||
+ | x86 IvyBridge-v1 | ||
+ | x86 IvyBridge-v2 | ||
+ | x86 KnightsMill | ||
+ | x86 KnightsMill-v1 | ||
+ | x86 Nehalem | ||
+ | x86 Nehalem-IBRS | ||
+ | x86 Nehalem-v1 | ||
+ | x86 Nehalem-v2 | ||
+ | x86 Opteron_G1 | ||
+ | x86 Opteron_G1-v1 | ||
+ | x86 Opteron_G2 | ||
+ | x86 Opteron_G2-v1 | ||
+ | x86 Opteron_G3 | ||
+ | x86 Opteron_G3-v1 | ||
+ | x86 Opteron_G4 | ||
+ | x86 Opteron_G4-v1 | ||
+ | x86 Opteron_G5 | ||
+ | x86 Opteron_G5-v1 | ||
+ | x86 Penryn | ||
+ | x86 Penryn-v1 | ||
+ | x86 SandyBridge | ||
+ | x86 SandyBridge-IBRS | ||
+ | x86 SandyBridge-v1 | ||
+ | x86 SandyBridge-v2 | ||
+ | x86 Skylake-Client | ||
+ | x86 Skylake-Client-IBRS | ||
+ | x86 Skylake-Client-noTSX-IBRS | ||
+ | x86 Skylake-Client-v1 | ||
+ | x86 Skylake-Client-v2 | ||
+ | x86 Skylake-Client-v3 | ||
+ | x86 Skylake-Client-v4 | ||
+ | x86 Skylake-Server | ||
+ | x86 Skylake-Server-IBRS | ||
+ | x86 Skylake-Server-noTSX-IBRS | ||
+ | x86 Skylake-Server-v1 | ||
+ | x86 Skylake-Server-v2 | ||
+ | x86 Skylake-Server-v3 | ||
+ | x86 Skylake-Server-v4 | ||
+ | x86 Skylake-Server-v5 | ||
+ | x86 Snowridge | ||
+ | x86 Snowridge-v1 | ||
+ | x86 Snowridge-v2 | ||
+ | x86 Snowridge-v3 | ||
+ | x86 Snowridge-v4 | ||
+ | x86 Westmere | ||
+ | x86 Westmere-IBRS | ||
+ | x86 Westmere-v1 | ||
+ | x86 Westmere-v2 | ||
+ | x86 athlon | ||
+ | x86 athlon-v1 | ||
+ | x86 core2duo | ||
+ | x86 core2duo-v1 | ||
+ | x86 coreduo | ||
+ | x86 coreduo-v1 | ||
+ | x86 kvm32 | ||
+ | x86 kvm32-v1 | ||
+ | x86 kvm64 | ||
+ | x86 kvm64-v1 | ||
+ | x86 n270 (alias configured by machine type) | ||
+ | x86 n270-v1 | ||
+ | x86 pentium | ||
+ | x86 pentium-v1 | ||
+ | x86 pentium2 | ||
+ | x86 pentium2-v1 | ||
+ | x86 pentium3 | ||
+ | x86 pentium3-v1 | ||
+ | x86 phenom | ||
+ | x86 phenom-v1 | ||
+ | x86 qemu32 | ||
+ | x86 qemu32-v1 | ||
+ | x86 qemu64 | ||
+ | x86 qemu64-v1 | ||
+ | x86 base base CPU model type with no features enabled | ||
+ | x86 host processor with all supported host features | ||
+ | x86 max | ||
+ | |||
+ | Recognized CPUID flags: | ||
+ | 3dnow 3dnowext 3dnowprefetch abm ace2 ace2-en acpi adx aes amd-no-ssb | ||
+ | amd-ssbd amd-stibp amx-bf16 amx-int8 amx-tile apic arat arch-capabilities | ||
+ | avic avx avx-vnni avx2 avx512-4fmaps avx512-4vnniw avx512-bf16 | ||
+ | avx512-fp16 avx512-vp2intersect avx512-vpopcntdq avx512bitalg avx512bw | ||
+ | avx512cd avx512dq avx512er avx512f avx512ifma avx512pf avx512vbmi | ||
+ | avx512vbmi2 avx512vl avx512vnni bmi1 bmi2 bus-lock-detect cid cldemote | ||
+ | clflush clflushopt clwb clzero cmov cmp-legacy core-capability cr8legacy | ||
+ | cx16 cx8 dca de decodeassists ds ds-cpl dtes64 erms est extapic f16c | ||
+ | flushbyasid fma fma4 fpu fsgsbase fsrm full-width-write fxsr fxsr-opt | ||
+ | gfni hle ht hypervisor ia64 ibpb ibrs ibrs-all ibs intel-pt intel-pt-lip | ||
+ | invpcid invtsc kvm-asyncpf kvm-asyncpf-int kvm-hint-dedicated kvm-mmu | ||
+ | kvm-msi-ext-dest-id kvm-nopiodelay kvm-poll-control kvm-pv-eoi kvm-pv-ipi | ||
+ | kvm-pv-sched-yield kvm-pv-tlb-flush kvm-pv-unhalt kvm-steal-time kvmclock | ||
+ | kvmclock kvmclock-stable-bit la57 lahf-lm lbrv lm lwp mca mce md-clear | ||
+ | mds-no misalignsse mmx mmxext monitor movbe movdir64b movdiri mpx msr | ||
+ | mtrr nodeid-msr npt nrip-save nx osvw pae pat pause-filter pbe pcid | ||
+ | pclmulqdq pcommit pdcm pdpe1gb perfctr-core perfctr-nb pfthreshold pge | ||
+ | phe phe-en pks pku pmm pmm-en pn pni popcnt pschange-mc-no pse pse36 | ||
+ | rdctl-no rdpid rdrand rdseed rdtscp rsba rtm sep serialize sgx sgx-debug | ||
+ | sgx-exinfo sgx-kss sgx-mode64 sgx-provisionkey sgx-tokenkey sgx1 sgx2 | ||
+ | sgxlc sha-ni skinit skip-l1dfl-vmentry smap smep smx spec-ctrl | ||
+ | split-lock-detect ss ssb-no ssbd sse sse2 sse4.1 sse4.2 sse4a ssse3 stibp | ||
+ | svm svm-lock svme-addr-chk syscall taa-no tbm tce tm tm2 topoext tsc | ||
+ | tsc-adjust tsc-deadline tsc-scale tsx-ctrl tsx-ldtrk umip v-vmsave-vmload | ||
+ | vaes vgif virt-ssbd vmcb-clean vme vmx vmx-activity-hlt | ||
+ | vmx-activity-shutdown vmx-activity-wait-sipi vmx-apicv-register | ||
+ | vmx-apicv-vid vmx-apicv-x2apic vmx-apicv-xapic vmx-cr3-load-noexit | ||
+ | vmx-cr3-store-noexit vmx-cr8-load-exit vmx-cr8-store-exit vmx-desc-exit | ||
+ | vmx-encls-exit vmx-entry-ia32e-mode vmx-entry-load-bndcfgs | ||
+ | vmx-entry-load-efer vmx-entry-load-pat vmx-entry-load-perf-global-ctrl | ||
+ | vmx-entry-load-pkrs vmx-entry-load-rtit-ctl vmx-entry-noload-debugctl | ||
+ | vmx-ept vmx-ept-1gb vmx-ept-2mb vmx-ept-advanced-exitinfo | ||
+ | vmx-ept-execonly vmx-eptad vmx-eptp-switching vmx-exit-ack-intr | ||
+ | vmx-exit-clear-bndcfgs vmx-exit-clear-rtit-ctl vmx-exit-load-efer | ||
+ | vmx-exit-load-pat vmx-exit-load-perf-global-ctrl vmx-exit-load-pkrs | ||
+ | vmx-exit-nosave-debugctl vmx-exit-save-efer vmx-exit-save-pat | ||
+ | vmx-exit-save-preemption-timer vmx-flexpriority vmx-hlt-exit vmx-ins-outs | ||
+ | vmx-intr-exit vmx-invept vmx-invept-all-context vmx-invept-single-context | ||
+ | vmx-invept-single-context vmx-invept-single-context-noglobals | ||
+ | vmx-invlpg-exit vmx-invpcid-exit vmx-invvpid vmx-invvpid-all-context | ||
+ | vmx-invvpid-single-addr vmx-io-bitmap vmx-io-exit vmx-monitor-exit | ||
+ | vmx-movdr-exit vmx-msr-bitmap vmx-mtf vmx-mwait-exit vmx-nmi-exit | ||
+ | vmx-page-walk-4 vmx-page-walk-5 vmx-pause-exit vmx-ple vmx-pml | ||
+ | vmx-posted-intr vmx-preemption-timer vmx-rdpmc-exit vmx-rdrand-exit | ||
+ | vmx-rdseed-exit vmx-rdtsc-exit vmx-rdtscp-exit vmx-secondary-ctls | ||
+ | vmx-shadow-vmcs vmx-store-lma vmx-true-ctls vmx-tsc-offset | ||
+ | vmx-tsc-scaling vmx-unrestricted-guest vmx-vintr-pending vmx-vmfunc | ||
+ | vmx-vmwrite-vmexit-fields vmx-vnmi vmx-vnmi-pending vmx-vpid | ||
+ | vmx-wbinvd-exit vmx-xsaves vmx-zero-len-inject vpclmulqdq waitpkg | ||
+ | wbnoinvd wdt x2apic xcrypt xcrypt-en xfd xgetbv1 xop xsave xsavec | ||
+ | xsaveerptr xsaveopt xsaves xstore xstore-en xtpr | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== QEMU (x86_64) | ||
+ | < | ||
+ | <WRAP color_command>< | ||
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
qemu: Supported NIC models: e1000, | qemu: Supported NIC models: e1000, | ||
- | </code> | + | </pre></ |
- | <code> | + | |
- | $ qemu-system-i386 -net nic,model=? | + | <WRAP color_command>< |
+ | <b class=GRN> | ||
+ | </ | ||
+ | <WRAP color_result>< | ||
qemu: Supported NIC models: e1000, | qemu: Supported NIC models: e1000, | ||
- | </code> | + | </pre></ |
</ | </ | ||
行 505: | 行 977: | ||
[[https:// | [[https:// | ||
[[https:// | [[https:// | ||
+ | [[arc> | ||
+ | [[https:// | ||
+ | [[https:// | ||
==== 付録 ==== | ==== 付録 ==== | ||
行 511: | 行 986: | ||
[[tw> | [[tw> | ||
[[tw> | [[tw> | ||
+ | [[tw> | ||
+ | [[tw> | ||
+ | <wrap em> | ||
+ | [[tw> |