Hi Joćo<div><br><div>Yes you are right, some additional work is needed to get raw content on specific sections. RAW will just append the content to the end of the generated XML document.</div><div><br></div><div>BTW the section you are adding is related to DISK layout, is TARGET not working for you? Something similar is added by libvirt for each disk based on the target (when specified)....</div>
<div><br></div><div><br></div><div>Best</div><div><br></div><div>Ruben<br><br><div class="gmail_quote">On Tue, Oct 16, 2012 at 7:42 PM, Joćo Pagaime <span dir="ltr"><<a href="mailto:joao.pagaime@gmail.com" target="_blank">joao.pagaime@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">thanks for the reply<br>
<br>
didn't say the full story, sorry...<br>
<br>
the extra parameters that I need aren't "root" parameters, but instead<br>
must be inside a "<disk>" section, on libvirt's vm description<br>
<br>
I guess the RAW section can't be inside a DISK section<br>
<br>
best regards,<br>
Joćo<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Oct 16, 2012 at 6:29 PM, André Monteiro <<a href="mailto:andre.monteir@gmail.com">andre.monteir@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> Just put on RAW section:<br>
><br>
> RAW = [<br>
> TYPE = "kvm",<br>
> DATA = "<alias name='ide0-1-0'/><br>
> <address type='drive' controller='0' bus='1' target='0' unit='0'/>"]<br>
><br>
> --<br>
> André Monteiro<br>
><br>
><br>
><br>
><br>
> On Tue, Oct 16, 2012 at 6:06 PM, Joćo Pagaime <<a href="mailto:joao.pagaime@gmail.com">joao.pagaime@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hello all<br>
>><br>
>> I'm trying to start a VM with 2 IDE ou SCSI disks on KVM. Can't use<br>
>> virtio, since this is a physical to virtual operation, of an old<br>
>> system that doesn't support virtio<br>
>><br>
>> ths problem is that KVM/QEMU gives out an error<br>
>><br>
>> after simulating the situation with virt-manager, it seems that<br>
>> libvirt XML needs to indicate the following two extra parameters<br>
>> (example):<br>
>> <alias name='ide0-1-0'/><br>
>> <address type='drive' controller='0' bus='1' target='0' unit='0'/><br>
>><br>
>> is there some way to put this on open-nebula template?<br>
>><br>
>> thanks, best regards,<br>
>> Joćo<br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
>> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula<br>
</div></div>