Hi,<br><br>Just remove the <source> element from cdrom device and it should work even for<br>
xen.<br><br>This will work, but is this the correct way? I din't remove soure attribute from config file for esx and kvm after installation, but there i had no issues.  <br><br>Can we control citrix xen server with libvirt ?  If so, can you provide me the links for documents.<br>

<br>Thanks,<br>Vivek<br><br><div class="gmail_quote">On Fri, Sep 7, 2012 at 2:42 PM, Jiri Denemark <span dir="ltr"><<a href="mailto:jdenemar@redhat.com" target="_blank">jdenemar@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>On Thu, Sep 06, 2012 at 19:47:27 +0530, vivek hari wrote:<br>
> Hi,<br>
><br>
</div><div>> Yes, it failed to boot from hard disk, instead booted from cd.<br>
> I made a simple modification to  the domain xml config file attached<br>
> before. I replaced "target='xvda' with target='hda'" and removed per boot<br>
> option. This time, installation was successful and booted from hd. Since<br>
> installation was successful i deleted the iso file, then rebooted the<br>
> machine, but it failed with the error.<br>
><br>
> virsh # start vm-2<br>
> error: Failed to start domain vm-2<br>
> error: POST operation failed: xend_post: error from xen daemon: (xend.err<br>
> 'Disk image does not exist: /var/lib/libvirt/images/Rhel53.iso')<br>
><br>
> I hope this is not the proper behaviour. Below is my config file i used<br>
> this time.<br>
><br>
</div>...<br>
<div>>         <disk type='file' device='cdrom'><br>
>                    <source file='/var/lib/libvirt/images/Rhel53.iso'/><br>
>                    <target dev='hdc' bus='ide' /><br>
>                    <readonly/><br>
>             <address type='drive' controller='0' bus='1' target='0'<br>
> unit='0' /><br>
>         </disk><br>
</div>...<br>
<div>> Similar config file I used on kvm and esxi, i din't face any issue there.<br>
> Can you let me know how libvirt sorts the boot device ?<br>
<br>
</div>Just remove the <source> element from cdrom device and it should work even for<br>
xen.<br>
<br>
Jirka<br>
</blockquote></div><br>