From 4170a91f45563060ea5f0c414713646fc7372e88 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 7 Mar 2012 06:48:33 -0500 Subject: Remove the feature from UML/LXC guests The feature is only relevant to Xen paravirt or Xen/KVM/QEMU fullvirt guests. Remove it from UML/LXC guests Change-Id: I782b99455549ae49bf8adc8f40f5ea73b57f790e --- nova/virt/libvirt.xml.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nova/virt/libvirt.xml.template b/nova/virt/libvirt.xml.template index 1272dc7a3..ef024c3dd 100644 --- a/nova/virt/libvirt.xml.template +++ b/nova/virt/libvirt.xml.template @@ -51,9 +51,11 @@ #end if #end if +#if $type != 'lxc' and $type != 'uml' +#end if ${vcpus} #if $type == 'lxc' -- cgit