qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH v4 0/4] usb-msd: Add usb-storage, removable=on|o


From: Kevin Wolf
Subject: [Qemu-devel] Re: [PATCH v4 0/4] usb-msd: Add usb-storage, removable=on|off property
Date: Mon, 24 Jan 2011 16:55:35 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10

Am 24.01.2011 16:34, schrieb Stefan Hajnoczi:
> Allow overriding the SCSI INQUIRY removable (RMB) bit for scsi-disk and 
> usb-msd
> devices.  In particular this addresses the problem that some usb-msd devices
> have the bit set while other do not have it set.  Now the user can choose and
> get desired guest behavior.
> 
> qemu -usb
>     -drive if=none,file=test.img,cache=none,id=disk0
>     -device usb-storage,drive=disk0,removable=on
> 
> The default is off.
> 
> v4:
>  * Explicitly state that scsi-generic does not support the removable bit 
> override
>  * Try to make the scsi_bus_legacy_add_drive() commit description clearer
> 
> v3:
>  * Document removable property in qdev-device-use.txt
>  * Use bit number 0 instead of bit 1 for the qdev property
> 
> v2:
>  * Rewritten to override the bit at the scsi-disk level
> 

Thanks, updated the patches in the block branch.

Kevin



reply via email to

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