[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: [COMMIT e20a8df] Compile fdc, escc and SCSI control
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] Re: [COMMIT e20a8df] Compile fdc, escc and SCSI controllers only once |
Date: |
Fri, 22 May 2009 16:49:37 +0100 |
User-agent: |
KMail/1.11.2 (Linux/2.6.29-2-amd64; KDE/4.2.2; x86_64; ; ) |
> > > Yes, I forgot about the whole-archive hack. I've disabled it for
> > > hwlib, so now arm-softmmu links.
> >
> > This is completely wrong. The reason we use whole-archive is so that
> > device constructors are run. Most machines are broken after your change.
>
> Did you test? I don't see any breakage, qemu-img --help shows all
> block formats and qemu-system-arm -M '?' lists all machines.
>
> Because whole-archive is still used for libqemu_common.a, all devices
> in that archive are linked in (whether they are used or not!), so the
> constructors work.
The machines themselves are there, but many of the devices they use (e.g. the
pci scsi emulation) are not.
Paul