<html>
  <head>

  </head>
  <body style="margin-left: 4px; font-variant: normal; line-height: normal; font-weight: normal; font-style: normal; margin-bottom: 1px; margin-top: 4px; margin-right: 4px; font-family: Dialog; font-size: 10pt">
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Dialog" size="2">I think there is another fix to be made as well as this one to get floppy working. My experimenting shows that libvirt is producing a command line including:</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Dialog" size="2"> -drive file=/tmp/my-floppy-disk-image,if=none,id=drive-fdc0-0-0 \</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Dialog" size="2"> -global isa-fdc.driveA=fdc0-0-0, but what qemu / qemu-kvm expects here is ... ,if=floppy ...</font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Dialog" size="2">When I make that change the guest then sees the floppy. Without it, the guest does boot up, but doesn't get a floppy device.</font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Dialog" size="2">Bruce</font><br><br><SPAN STYLE='FONT-SIZE:"0px"'><span style="font-size: 0px">>>> </span></SPAN>On 2/10/2010 at 05:44 AM, Daniel Veillard <veillard@redhat.com> wrote:<br>    </p>
    <table bgcolor="#f3f3f3" border="0" style="margin-left: 15px; margin-bottom: 0; margin-right: 0; margin-top: 0; font-size: 1em">
      <tr>
        <td>
          <div style="padding-left: 7px; border-left: solid 1px #050505">
            <p style="margin-bottom: 0; margin-top: 0">
              On Wed, Feb 10, 2010 at 09:45:42AM +0000, Daniel P. Berrange wrote:<br>> * src/qemu/qemu_conf.c: Fix ',' vs '.' typo in floppy disk arg<br>> ---<br>>  src/qemu/qemu_conf.c |    2 +-<br>>  1 files changed, 1 insertions(+), 1 deletions(-)<br>><br>> diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c<br>> index fb06cd0..beb4386 100644<br>> --- a/src/qemu/qemu_conf.c<br>> +++ b/src/qemu/qemu_conf.c<br>> @@ -3521,7 +3521,7 @@ int qemudBuildCommandLine(virConnectPtr conn,<br>>                      char *fdc;<br>>                      ADD_ARG_LIT("-global");<br>> <br>> -                    if (virAsprintf(&fdc, "isa-fdc,drive%c=drive-%s",<br>> +                    if (virAsprintf(&fdc, "isa-fdc.drive%c=drive-%s",<br>>                                      disk->info.addr.drive.unit ? 'B' : 'A',<br>>                                      disk->info.alias) < 0)<br>>                          goto no_memory;<br><br>  ACK<br><br>Daniel<br><br>--<br>Daniel Veillard      | libxml Gnome XML XSLT toolkit  <a href="http://xmlsoft.org/">http://xmlsoft.org/</a><br>daniel@veillard.com  | Rpmfind RPM search engine <a href="http://rpmfind.net/">http://rpmfind.net/</a><br><a href="http://veillard.com/">http://veillard.com/</a> | virtualization library  <a href="http://libvirt.org/">http://libvirt.org/</a><br><br>--<br>libvir-list mailing list<br>libvir-list@redhat.com<br><a href="https://www.redhat.com/mailman/listinfo/libvir-list">https://www.redhat.com/mailman/listinfo/libvir-list</a><br>
            </p>
          </div>
        </td>
      </tr>
    </table>
  </body>
</html>