Skip to content

Commit

Permalink
remove addition of gate64 cpu
Browse files Browse the repository at this point in the history
Nova has been fixed to not need this work around. We shouldn't keep it
in devstack.

Change-Id: Ie2b1c6b8ddce4a2fd94af06745d59455208f0633
  • Loading branch information
sdague authored and ianw committed Jun 3, 2016
1 parent 35f0f09 commit 214459c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 100 deletions.
15 changes: 3 additions & 12 deletions lib/nova_plugins/functions-libvirt
Expand Up @@ -121,18 +121,9 @@ EOF
fi
fi

# Update the libvirt cpu map with a gate64 cpu model. This enables nova
# live migration for 64bit guest OSes on heterogenous cloud "hardware".
if [[ -f /usr/share/libvirt/cpu_map.xml ]] ; then
sudo $TOP_DIR/tools/cpu_map_update.py /usr/share/libvirt/cpu_map.xml
fi

# libvirt detects various settings on startup, as we potentially changed
# the system configuration (modules, filesystems), we need to restart
# libvirt to detect those changes. Use a stop start as otherwise the new
# cpu_map is not loaded properly on some systems (Ubuntu).
stop_service $LIBVIRT_DAEMON
start_service $LIBVIRT_DAEMON
# Service needs to be started on redhat/fedora -- do a restart for
# sanity after fiddling the config.
restart_service $LIBVIRT_DAEMON
}


Expand Down
88 changes: 0 additions & 88 deletions tools/cpu_map_update.py

This file was deleted.

0 comments on commit 214459c

Please sign in to comment.