<%= @name %><%= @memory_size %><%= @cpus %>
<% if @nested %>
<% if @cpu_mode != 'host-passthrough' %>
qemu64
<% end %>
<% end %>
<% if @machine_type %>
<% if @machine_arch %>
hvm
<% else %>
hvm
<% end %>
<% else %>
<% if @machine_arch %>
hvm
<% else %>
hvm
<% end %>
<% end %>
<%= @kernel %><%= @initrd %><%= @cmd_line %>
<%# we need to ensure a unique target dev -%>
<%# additional disks -%>
<% @disks.each do |d| -%>
<%# this will get auto generated by libvirt
-%>
<% end -%>
<% @cdroms.each do |c| %>
<% end %>
<%# Video device -%>
/>
<%#End Video -%>