<html><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><META name="Author" content="Novell GroupWise WebAccess"><style type="text/css"> 
body p 

        margin: 0px; 
}
</style></head><body style='font-family: Helvetica, Arial, sans-serif; font-size: 13px; '><div id="GroupWiseSection_1414586109000_lma@suse.com_B118D7016C3D0000BC7D000BCD69755F_" class="GroupWiseMessageBody"><div>When attacing an image to a virtual floppy drive, says clicking 'Connect' button,<br>Picking up an image, clicking 'OK' button, It always warns user that the image is in used.<br>The patch fixes this issue, But I just found the patch code doesn't make sense,<br>So I will resend it once I fix it in a better way.<br><br>Thanks,<br>Lin<br></div><span> </span><span class="GroupwiseReplyHeader"><br><br>>>> Cole Robinson <crobinso@redhat.com> 10/27/14 3:53 PM >>><br></span>On 10/16/2014 08:40 AM, Lin Ma wrote:<br>> When connecting a floppy media, It always reports media conflict no matter it<br>> is in use or not, This patch fixes it.<br>> <br>> Signed-off-by: Lin Ma <lma@suse.com><br>> ---<br>>  virtinst/devicedisk.py | 3 +++<br>>  1 file changed, 3 insertions(+)<br>> <br>> diff --git a/virtinst/devicedisk.py b/virtinst/devicedisk.py<br>> index 1d764d9..00b8000 100644<br>> --- a/virtinst/devicedisk.py<br>> +++ b/virtinst/devicedisk.py<br>> @@ -422,6 +422,9 @@ class VirtualDisk(VirtualDevice):<br>>                  if disk.path != path:<br>>                      continue<br>>  <br>> +                if disk.type == "block" and disk.device == "floppy":<br>> +                    continue<br>> +<br>>                  if shareable and disk.shareable:<br>>                      continue<br>>                  if read_only and disk.read_only:<br>> <br><br>I'm unclear what this is fixing... can you elaborate on what exactly this is<br>fixing? What path are you passing to virt-manager or virt-install and what<br>error is it giving?<br><br>Thanks,<br>Cole<br><br></lma@suse.com></div></body></html>