[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL v2 0/5] hw: Contain drive, serial, parallel, net
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PULL v2 0/5] hw: Contain drive, serial, parallel, net misuse |
Date: |
Thu, 2 Apr 2015 15:53:02 +0100 |
On 2 April 2015 at 14:35, Markus Armbruster <address@hidden> wrote:
> Drives defined with if!=none, character devices defined with -serial
> and -parallel, network devices defined with -net nic are all for board
> initialization to wire up. Board code calls drive_get() or similar to
> find them, and creates devices with their qdev properties set
> accordingly.
>
> Except a few devices go on fishing expeditions on their own instead of
> exposing a drive property for board code to set.
>
> We can't fix this in time for the release, so do the next best thing:
> contain the mistakes as far as possible so they don't become ABI:
>
> * Mark them all with suitable FIXME comments [PATCH 1-3].
>
> * sdhci-pci is new, set cannot_instantiate_with_device_add_yet to make
> it unavailable with -device [PATCH 4].
>
> * A few more aren't currently available with -device, set
> cannot_instantiate_with_device_add_yet to ensure they stay
> unavailable [PATCH 5].
>
> * Left alone: m25p80-generic and its derivatives[*], ssi-sd, pc87312.
> I suspect these can't be used sanely with -device / device_add, and
> cannot_instantiate_with_device_add_yet for them would be just fine,
> but I feel we're too close to the release to argue this now.
>
> The following changes since commit b8a86c4ac4d04c106ba38fbd707041cba334a155:
>
> Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into
> staging (2015-04-01 11:31:31 +0100)
>
> are available in the git repository at:
>
>
> git://repo.or.cz/qemu/armbru.git tags/pull-hw-2015-04-02
>
> for you to fetch changes up to 9f9bdf43cac28251f8cb33b77fed5e19225375c4:
>
> sysbus: Make devices picking up backends unavailable with -device
> (2015-04-02 15:30:44 +0200)
>
> ----------------------------------------------------------------
> hw: Contain drive, serial, parallel, net misuse
>
Applied, thanks.
-- PMM
- [Qemu-devel] [PULL v2 0/5] hw: Contain drive, serial, parallel, net misuse, Markus Armbruster, 2015/04/02
- [Qemu-devel] [PULL v2 4/5] sdhci: Make device "sdhci-pci" unavailable with -device, Markus Armbruster, 2015/04/02
- [Qemu-devel] [PULL v2 1/5] hw: Mark devices picking up block backends actively FIXME, Markus Armbruster, 2015/04/02
- [Qemu-devel] [PULL v2 5/5] sysbus: Make devices picking up backends unavailable with -device, Markus Armbruster, 2015/04/02
- [Qemu-devel] [PULL v2 2/5] hw: Mark devices picking up char backends actively FIXME, Markus Armbruster, 2015/04/02
- [Qemu-devel] [PULL v2 3/5] hw: Mark device misusing nd_table[] FIXME, Markus Armbruster, 2015/04/02
- Re: [Qemu-devel] [PULL v2 0/5] hw: Contain drive, serial, parallel, net misuse,
Peter Maydell <=