> >>
> >>    <os>
> >>            <type>hvm</type>
> >>            <boot dev='hd'/>
> >>    </os>
> >>
> >>          <memory>542720</memory>
> >>          <vcpu>1</vcpu>
> >>
> >>    <devices>
> >>            <disk type='file' device='disk'>
> >>                    <source file='/home/santhosh/Desktop/ubuntu9.vdi'/>
> >>                    <target dev='hdd'/>

ok the actual error is not in the code and the patch failed cause you are 
using the git HEAD which already has it.

The error actually is that you forgot to specify the target type, i.e the 
target tag should be:

<target dev='hdd' bus='ide'/>

and not the one which you specified. the documents on the libvirt.org are 
pretty much old i guess and someone should update them someday ;).

Regards,
Pritesh

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to