summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2010-07-30 11:19:03 -0700
committerVishvananda Ishaya <vishvananda@gmail.com>2010-07-30 11:19:03 -0700
commit80b79a923bc6fb331daaf6960e6353c700b89c41 (patch)
tree92cb0aa079b565f45be5d230658cd8543b633ef3 /nova/compute
parent16e89bad15f5665a5f46c0bdcdfab1b7f3df4039 (diff)
use the right tag
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/libvirt.xml.template5
1 files changed, 2 insertions, 3 deletions
diff --git a/nova/compute/libvirt.xml.template b/nova/compute/libvirt.xml.template
index a17cd8fae..307f9d03a 100644
--- a/nova/compute/libvirt.xml.template
+++ b/nova/compute/libvirt.xml.template
@@ -1,7 +1,7 @@
-<domain type='kvm'>
+<domain type='%(type)s'>
<name>%(name)s</name>
<os>
- <type>%(type)s</type>
+ <type>hvm</type>
<kernel>%(basepath)s/kernel</kernel>
<initrd>%(basepath)s/ramdisk</initrd>
<cmdline>root=/dev/vda1 console=ttyS0</cmdline>
@@ -12,7 +12,6 @@
<memory>%(memory_kb)s</memory>
<vcpu>%(vcpus)s</vcpu>
<devices>
- <emulator>/usr/bin/kvm</emulator>
<disk type='file'>
<source file='%(basepath)s/disk'/>
<target dev='vda' bus='virtio'/>