[libvirt] virsh create Guest Crashing

Chris Lalancette clalance at redhat.com
Mon May 19 10:05:50 UTC 2008


You didn't tell us how it crashed, but...

Kenneth Nagin wrote:
>   <devices>
>     <disk type='file'>
>       <source file='/data/images/nagin/c1/ken-30/fedora.fc8.img.sd'/>
>       <target dev='sda1'/>
>     </disk>
>     <disk type='file'>
>       <source file='/data/images/nagin/c1/ken-30/fedora.swap'/>.
>       <target dev='sda2'/>
>     </disk>

The two devices above seem to be wrong, when compared to the Xen configuration
file below.  It looks like you want something like:

   <devices>
     <disk type='file'>
       <source file='/data/images/nagin/c1/ken-30/fedora.fc8.img'/>
       <target dev='xvda1'/>
     </disk>
     <disk type='file'>
       <source file='/data/images/nagin/c1/ken-30/fedora.swap'/>.
       <target dev='xvda2'/>
     </disk>


If that doesn't help, please tell us how it crashes, exactly, and give the
console output from the guest (if it gets that far).

Chris Lalancette




More information about the libvir-list mailing list