Re: [et-mgmt-tools] [PATCH] checking for busy disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Would you give me a comment on this patch ?
If everything is OK, please apply it.

Thanks,
Saori Fukuta

On Wed, 06 Jun 2007 13:40:24 +0900 Saori Fukuta wrote:
> Hi,
> 
> The virt-install & virt-manager are checking if the physical device has
> been using by other domain. But they does not check, when the device is
> file or tap.
> 
> So I add to check it.
> 
> Signed-off-by: Saori Fukuta <fukuta.saori@xxxxxxxxxxxxxx>
> 
> Thanks,
> Saori Fukuta
> 
> 
> diff -r 797e92fd5e0d virtinst/Guest.py
> --- a/virtinst/Guest.py Thu May 31 14:20:33 2007 -0400
> +++ b/virtinst/Guest.py Wed Jun 06 11:34:33 2007 +0900
> @@ -163,6 +163,7 @@ class VirtualDisk:
>              try:
>                  try:
>                      count += ctx.xpathEval("count(/domain/devices/disk/source[@dev='%s'])" % self.path)
> +                    count += ctx.xpathEval("count(/domain/devices/disk/source[@file='%s'])" % self.path)
>                  except:
>                      continue
>              finally:
> 
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux