Dne 23.11.2010 03:30, Amos Kong napsal(a):
> ----- "Jiří Župka"<[email protected]>  wrote:
>
>> ---
>
> After loading your this patch, virtio_console also could not work with older 
> python.
>
> Something are not fixed, such as:
>    "return True if self.failed>  0 else False"
>    "PASS"if result[0] else "FAIL"
>    ...
>
> I'm testing with 'Python 2.4.3'

Hi,

this fixes only the GUEST (virtio_guest.py) side of the virtio_console 
test. (tested with python 2.4.3 and 2.4.6)

It's possible to fix the host side too but distributions which supports 
only python 2.4 usually supports older versions of KVM without the 
'-device' option we use in the HOST side of the test for creating the 
devices. This change would only make the code less readable with minimal 
income.

Anyway if there's a real demand, we can fix the HOST side too.

Cheers,
Lukáš
>
>>       def close(self, file):
>> @@ -339,7 +341,7 @@ class VirtioGuest:
>>               if descriptor != None:

>> --
>> 1.7.3.2
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to