Updated Branches: refs/heads/master d251bafbd -> e477e1b78
CLOUDSTACK-448: Detect when running inside Xen HVM This was reported by Jason Bausewein <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/e477e1b7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/e477e1b7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/e477e1b7 Branch: refs/heads/master Commit: e477e1b78daf7e9f063a8d3f30a3319acaf406ce Parents: d251baf Author: Wido den Hollander <[email protected]> Authored: Fri Nov 9 13:58:24 2012 +0100 Committer: Wido den Hollander <[email protected]> Committed: Fri Nov 9 14:05:27 2012 +0100 ---------------------------------------------------------------------- .../debian/config/etc/init.d/cloud-early-config | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/e477e1b7/patches/systemvm/debian/config/etc/init.d/cloud-early-config ---------------------------------------------------------------------- diff --git a/patches/systemvm/debian/config/etc/init.d/cloud-early-config b/patches/systemvm/debian/config/etc/init.d/cloud-early-config index 258e71e..f1c487d 100755 --- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config +++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config @@ -102,8 +102,8 @@ get_boot_params() { local hyp=$(hypervisor) [ $? -ne 0 ] && log_it "Failed to detect hypervisor type, bailing out of early init" && exit 10 - case $hyp in - xen-domU) + case $hyp in + xen-domU|xen-hvm) cat /proc/cmdline > /var/cache/cloud/cmdline sed -i "s/%/ /g" /var/cache/cloud/cmdline ;;
