Browse code

Modify the default cpu-mode for aarh64 in Libvirt

For AArch64, KVM don't recognize the cpu-mode "none",
so change the default cpu-mode as host-passthrough for
generating nova.conf

Change-Id: I94a22e5a15a974b9c11e9f9fd996857453b6e2ca
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>

Kevin Zhao authored on 2016/07/20 00:52:12
Showing 1 changed files
... ...
@@ -55,6 +55,7 @@ function configure_nova_hypervisor {
55 55
     if is_arch "aarch64"; then
56 56
         # arm64 architecture currently does not support graphical consoles.
57 57
         iniset $NOVA_CONF vnc enabled "false"
58
+        iniset $NOVA_CONF libvirt cpu_mode "host-passthrough"
58 59
     fi
59 60
 
60 61
     # File injection is being disabled by default in the near future -