On Tue, Feb 18, 2014 at 02:23:33PM +0100, Giuseppe Scrivano wrote:
> Martin Kletzander <[email protected]> writes:
>
> > Signed-off-by: Martin Kletzander <[email protected]>
> > ---
> >  virtManager/addhardware.py | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py
> > index b1f6251..b446a9d 100644
> > --- a/virtManager/addhardware.py
> > +++ b/virtManager/addhardware.py
> > @@ -1441,7 +1441,7 @@ class vmmAddHardware(vmmGObjectUI):
> >          # Save occupied places per controller
> >          occupied = collections.defaultdict(int)
> >          for d in used_disks:
> > -            if d.bus == disk.bus:
> > +            if d.get_target_prefix() == disk.get_target_prefix():
> >                  num = virtinst.VirtualDisk.target_to_num(d.target)
> >                  occupied[num / 7] += 1
> >          for c in ctrls_scsi:
>
> ACK
>
> Giuseppe

Thanks guys, pushed.

Martin

Attachment: signature.asc
Description: Digital signature

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to