[libvirt] Creating Guest OS in Virtual Box

Pritesh Kothari Pritesh.Kothari at Sun.COM
Mon Oct 5 14:45:45 UTC 2009


> >>
> >> 	<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




More information about the libvir-list mailing list