Skip to content

Instantly share code, notes, and snippets.

@gowatana
Last active December 9, 2018 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gowatana/27979ef6fe8eb81b9aac66228be5e00a to your computer and use it in GitHub Desktop.
Save gowatana/27979ef6fe8eb81b9aac66228be5e00a to your computer and use it in GitHub Desktop.
Oracle Linux 7 KVM での vCPU 定義。
<vcpu placement="static">1</vcpu>
<cpu mode="custom" match="exact" check="full">
<model fallback="forbid">Broadwell-IBRS</model>
<feature policy="require" name="hypervisor"/>
<feature policy="disable" name="erms"/>
<feature policy="require" name="xsaveopt"/>
</cpu>
@gowatana
Copy link
Author

gowatana commented Dec 9, 2018

下記のように情報取得

[root@lab-kvm-01 ~]# virsh dumpxml 3 | xmllint --xpath "//vcpu | //cpu" -

@gowatana
Copy link
Author

gowatana commented Dec 9, 2018

下記の投稿むけ。

Nutanix AHV での vCPU の様子。
http://blog.ntnx.jp/entry/2018/12/09/223553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment