[Starlingx-discuss] WG: cpu mode

Chris Friesen chris.friesen at windriver.com
Mon Jan 21 15:09:34 UTC 2019


You shouldn't need to modify nova.conf.

With the current codebase you should be able to specify 
"hw:cpu_model=Passthrough" in the flavor extra-specs.

Chris

On 1/21/2019 8:30 AM, von Hoesslin, Volker wrote:
> i have set "host-passthrough" in "/etc/nova/nova.conf"
> 
> =================================
> [DEFAULT]
> libvirt_cpu_mode = host-passthrough
> 
> [libvirt]
> cpu_mode = host-passthrough
> =================================
> 
> and restart nove service:
> # service nova-compute restart
> 
> for now it works! "lscpu" on guest os shows me the AMD EPIC with all features, very nice. but after reboot the compute-node, the auto-config script change this setting back to "none":
> 
> [libvirt]
> cpu_mode = none
> 
> and passthrough did not work anymore :( so how can i prevent this auto-config or define my new config as persistent?





More information about the Starlingx-discuss mailing list