qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] SCSI: STARTSTOPUNIT fix for PWRCND!=0


From: Ronnie Sahlberg
Subject: [Qemu-devel] [PATCH] SCSI: STARTSTOPUNIT fix for PWRCND!=0
Date: Sat, 28 Jul 2012 11:14:52 +1000

Paolo, List

Please find a trivial fix for the STARTSTOPUNIT emulation.
This command will only eject/load media if powercondition is 0.

With this patch, QEMU SCSI emulation now pass all my SSU tests :

$ ./bin/iscsi-test --dataloss --test="*startstop*" 
iscsi://127.0.0.1:32601/iqn.qemu.scsi-test/3
0360_startstopunit_simple:
===================
Media is removable. STARTSTOPUNIT should work
Try to eject the media ... [OK]
Try to mount the media again ... [OK]
TEST T0360_startstopunit_simple [OK]

0361_startstopunit_pwrcnd:
===================
Media is removable. STARTSTOPUNIT should work
Try to eject media with PC != 0 ... [OK]
Try to mount the media again ... [OK]
TEST T0361_startstopunit_pwrcnd [OK]

regards
ronnie sahlberg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]