[Libvirt-cim] [PATCH] [TEST] Remove guest creation from LogicalDisk - 02_nodevs.py
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Tue Jul 15 16:31:05 UTC 2008
> > def clean_system(host, virt='Xen'):
> > l = live.domain_list(host, virt)
> > - if len(l) > 1:
> > +
> > + if virt == "XenFV" or virt == "Xen":
> > + if len(l) > 1:
> > + return False
> > + else:
> > + return True
> Typos error, it takes four spaces.
>
Thanks! I forgot to test the case where the Xen system had Domain-0
plus a guest defined. Thanks!
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list