From 49a1cadd61b4badff0578ecd26adb57fb284ad9a Mon Sep 17 00:00:00 2001 From: Salvatore Orlando Date: Thu, 9 Dec 2010 16:42:52 +0000 Subject: raw instances can now be launched in xenapi (only as hvm at the moment) --- nova/virt/libvirt.qemu.xml.template | 18 ++++++++++-- nova/virt/libvirt_conn.py | 56 +++++++++++++++++++++++++++---------- nova/virt/xenapi/vm_utils.py | 41 ++++++++++++++++++++------- nova/virt/xenapi/vmops.py | 19 +++++++++---- 4 files changed, 102 insertions(+), 32 deletions(-) (limited to 'nova/virt') diff --git a/nova/virt/libvirt.qemu.xml.template b/nova/virt/libvirt.qemu.xml.template index 2538b1ade..b2281297e 100644 --- a/nova/virt/libvirt.qemu.xml.template +++ b/nova/virt/libvirt.qemu.xml.template @@ -1,9 +1,9 @@ %(name)s - hvm - %(basepath)s/kernel - %(basepath)s/ramdisk + hvm + %(kernel)s + %(ramdisk)s root=/dev/vda1 console=ttyS0 @@ -29,5 +29,17 @@ + + + + + + + + +