qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 00/23] Suppress unused default drives


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH 00/23] Suppress unused default drives
Date: Thu, 09 Aug 2012 16:08:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Peter Maydell <address@hidden> writes:

> On 9 August 2012 14:31, Markus Armbruster <address@hidden> wrote:
>> We create a number of default drives for machines to use: floppy,
>> CD-ROM, SD card.  Machines can suppress the ones they don't use, but
>> few do.  Fix that.
>
> For clarity: what are the negative effects that result from
> machines not saying no_floppy &c ?

"info block" shows the unused default drives.  For instance,

    $ qemu-system-x86_64 -vnc :0 -monitor stdio 
    QEMU 1.1.50 monitor - type 'help' for more information
    (qemu) info block
    ide1-cd0: removable=1 locked=0 tray-open=0 io-status=ok [not inserted]
    floppy0: removable=1 locked=0 tray-open=0 [not inserted]
    sd0: removable=1 locked=0 tray-open=0 [not inserted]
    pflash0: removable=0 file=/work/armbru/qemu/bld-x86/pc-bios/bios.bin ro=1 
drv=raw encrypted=0 bps=0 bps_rd=0 bps_wr=0 iops=0 iops_rd=0 iops_wr=0

Drive sd0 is unused here.  Might confuse the uninitiated.  Moreover, you
*can* use it for something entirely else, if=sd notwithstanding:

    (qemu) device_add lsi
    (qemu) device_add scsi-cd,drive=sd0



reply via email to

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