Setting kernel to hvmloader is ignored in xl but not in libvirt. Libvirt
config converter will translate that then pass it to QEMU. QEMU
complains there is no kernel called hvmloader and exits.
Remove this option for xl and libvirt. Xl is not affected and libvirt
will be able to create HVM guest. Xend might still need it.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
}
my $disks = join ",\t\t\n", map { "'$_'" } @disks;
+ my $kernel = $ho->{Toolstack}->{Name} =~ m/xend/ ?
+ "kernel = 'hvmloader'" : '';
+
my $cfg = <<END;
-kernel = 'hvmloader'
+$kernel
builder = 'hvm'
#
disk = [