cpu host and virt-install

General support questions
nexgardvietnam
Posts: 1
Joined: 2018/05/10 03:12:35

cpu host and virt-install

Postby nexgardvietnam » 2018/05/10 03:22:09

Hello everyone, I'm running CentOS 6 and have a CentOS vm scripted to install via kickstart and virt-install. This version of virt-install doesn't recognize "--cpu host" and I want to stay with the command line for scripting so no virtual-manager. I am not interested in migration so would like to use the full capabilities of the cpu. I have seen a suggestion to pass an argument to qemu when it starts, but I'm not sure how to do this ...But I don't know what is the best way to achieve this.

User avatar
TrevorH
Forum Moderator
Posts: 22575
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: cpu host and virt-install

Postby TrevorH » 2018/05/10 09:53:23

The man page for virt-install on CentOS 6 says that --cpu host is allowed.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke