<div dir="ltr">Thanks, that's a definite bug then.<br>I tried again, this time I did not specify linux/fc11 for the guest OS. <br>The cd got created over bus=ide, and the installation started fine.<br><br>Dan<br><br><div class="gmail_quote">
On Thu, Oct 22, 2009 at 12:40 PM, Daniel Berteaud <span dir="ltr"><<a href="mailto:daniel@firewall-services.com">daniel@firewall-services.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Le jeudi 22 octobre 2009 à 12:36 +0200, Dan Bar Dov a écrit :<br>
<div class="im">> Trying to reboot, I reconnect the cdrom to the iso file,<br>
> the xml file looks like that:<br>
><br>
>     <disk type='file' device='cdrom'><br>
>       <driver name='file'/><br>
>       <source file='/home/iso/fc11.x86_64.iso'/><br>
>       <target dev='vdb' bus='virtio'/><br>
>       <readonly/><br>
>     </disk><br>
<br>
</div>I see 2 problems here:<br>
<br>
- you shouldn't use virtio for cdrom<br>
- I don't know where the <driver name='file'/> comes from<br>
<br>
Here's an example of a working CROM device:<br>
<div class="im"><br>
    <disk type='file' device='cdrom'><br>
</div>      <source file='/var/lib/libvirt/iso/Fedora-11-x86_64-DVD.iso'/><br>
      <target dev='hdc' bus='ide'/><br>
      <readonly/><br>
    </disk><br>
<br>
Oh, you should also check security contexts if you have SELinux enabled.<br>
(it may be better to put all your iso under /var/lib/libvirt/)<br>
<br>
Regards, Daniel<br>
<div><div></div><div class="h5"><br>
><br>
> But now the VM won;t start with the error<br>
> Error starting domain: internal error unsupported driver name 'file'<br>
> for disk '/home/iso/fc11.x86_64.iso'<br>
> And<br>
> Traceback (most recent call last):<br>
>   File "/usr/local/share/virt-manager/virtManager/engine.py", line<br>
> 567, in run_domain<br>
>     vm.startup()<br>
>   File "/usr/local/share/virt-manager/virtManager/domain.py", line<br>
> 652, in startup<br>
>     self.vm.create()<br>
>   File "/usr/lib64/python2.6/site-packages/libvirt.py", line 293, in<br>
> create<br>
>     if ret == -1: raise libvirtError ('virDomainCreate() failed',<br>
> dom=self)<br>
> libvirtError: internal error unsupported driver name 'file' for disk<br>
> '/home/iso/fc11.x86_64.iso'<br>
><br>
> Any ideas?<br>
> Dan<br>
><br>
> On Thu, Oct 22, 2009 at 12:31 PM, Dan Bar Dov <<a href="mailto:bardov@gmail.com">bardov@gmail.com</a>><br>
> wrote:<br>
>         Install worked, but I fail to create a new VM from ISO file.<br>
><br>
>         Once the VM is created, when it boots its console say:<br>
>         "CDROM boot failure code : 0003<br>
>         Boot failed: could not read the boot disk"<br>
><br>
>         This used to work fine with the stable version.<br>
>         Dan<br>
><br>
><br>
><br>
><br>
>         On Thu, Oct 22, 2009 at 11:54 AM, Dan Bar Dov<br>
>         <<a href="mailto:bardov@gmail.com">bardov@gmail.com</a>> wrote:<br>
>                 Excellent, that worked for me (the install).<br>
><br>
>                 Dan<br>
><br>
><br>
><br>
>                 On Wed, Oct 21, 2009 at 7:39 PM, Daniel Berteaud<br>
>                 <<a href="mailto:daniel@firewall-services.com">daniel@firewall-services.com</a>> wrote:<br>
>                         Le mercredi 21 octobre 2009 à 19:00 +0200, Dan<br>
>                         Bar Dov a écrit :<br>
>                         > I compiled and installed 0.8.0 on FC11.<br>
><br>
><br>
>                         You can use this repo instead of compiling t<br>
>                         yourself:<br>
><br>
>                         <a href="http://markmc.fedorapeople.org/virt-preview/f11/" target="_blank">http://markmc.fedorapeople.org/virt-preview/f11/</a><br>
><br>
>                         Regards, Daniel<br>
><br>
><br>
>                         > When I try to run virt-manager I get a<br>
>                         popup:<br>
>                         > Error starting Virtual Machine Manager: No<br>
>                         module named sparkline<br>
>                         ><br>
>                         > I guess these are some python sparkline<br>
>                         package bindings.<br>
>                         > What do I need to get so it'll work?<br>
>                         ><br>
>                         > Traceback (most recent call last):<br>
>                         >   File<br>
>                         "/usr/share/virt-manager/virt-manager.py",<br>
>                         line 368, in<br>
>                         > <module><br>
>                         >     main()<br>
>                         >   File<br>
>                         "/usr/share/virt-manager/virt-manager.py",<br>
>                         line 309, in main<br>
>                         >     from virtManager.engine import vmmEngine<br>
>                         >   File<br>
>                         "/usr/share/virt-manager/virtManager/engine.py", line 33, in<br>
>                         > <module><br>
>                         >     from virtManager.manager import<br>
>                         vmmManager<br>
>                         >   File<br>
>                         "/usr/share/virt-manager/virtManager/manager.py", line 27, in<br>
>                         > <module><br>
>                         >     import sparkline<br>
>                         > ImportError: No module named sparkline<br>
>                         ><br>
>                         ><br>
>                         > Dan<br>
>                         ><br>
><br>
>                         ><br>
>                         _______________________________________________<br>
>                         > virt-tools-list mailing list<br>
>                         > <a href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a><br>
>                         ><br>
>                         <a href="https://www.redhat.com/mailman/listinfo/virt-tools-list" target="_blank">https://www.redhat.com/mailman/listinfo/virt-tools-list</a><br>
>                         --<br>
>                         Daniel Berteaud<br>
>                         FIREWALL-SERVICES SARL.<br>
>                         Société de Services en Logiciels Libres<br>
>                         Technopôle Montesquieu<br>
>                         33650 MARTILLAC<br>
>                         Tel : 05 56 64 15 32<br>
>                         Fax : 05 56 64 15 32<br>
>                         Mail: <a href="mailto:daniel@firewall-services.com">daniel@firewall-services.com</a><br>
>                         Web : <a href="http://www.firewall-services.com" target="_blank">http://www.firewall-services.com</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
</div></div>--<br>
<div><div></div><div class="h5">Daniel Berteaud<br>
FIREWALL-SERVICES SARL.<br>
Société de Services en Logiciels Libres<br>
Technopôle Montesquieu<br>
33650 MARTILLAC<br>
Tel : 05 56 64 15 32<br>
Fax : 05 56 64 15 32<br>
Mail: <a href="mailto:daniel@firewall-services.com">daniel@firewall-services.com</a><br>
Web : <a href="http://www.firewall-services.com" target="_blank">http://www.firewall-services.com</a><br>
<br>
</div></div></blockquote></div><br></div>