[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH v3 1/5] boot: extend get_boot_devices_list() to ig
From: |
Alexey Kardashevskiy |
Subject: |
Re: [Qemu-ppc] [PATCH v3 1/5] boot: extend get_boot_devices_list() to ignore suffixes |
Date: |
Wed, 11 Dec 2013 14:56:06 +1100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 |
On 12/10/2013 08:21 PM, Paolo Bonzini wrote:
> Il 10/12/2013 08:32, Alexey Kardashevskiy ha scritto:
>> As suffixes do not make sense for sPAPR's device tree and
>> there is no way to filter them out on the BusState::get_fw_dev_path
>> level, let's add an ability for the external caller to specify
>> whether to apply suffixes or not.
>>
>> Signed-off-by: Alexey Kardashevskiy <address@hidden>
>
> SeaBIOS simply ignores unknown suffixes once it has recognized a part of
> the path. Could SLOF do the same?
SeaBIOS does not need it. SLOF does not need it either. Who does need it?
What is it for after all? Commit 1ca4d09ae0bcc2fdd6aeef0fdc11f82394f7e757
"Add bootindex parameter to net/block/fd device" does not explain that at all.
SLOF cannot just ignore this, why? It is a part of a path, it should parse
tree to find the node OR if it fails, find the closest matching node and
pass the rest of the path as a package parameter. And we do not really plan
to implement this (no use) as this is purely QEMU stuff which we do not
really want to carry to SLOF.
I'd stick to my original patch (please :) ) or add yet another Interface
just to ignore the suffix or method (ugly as it will be called from a place
different than hw/core/qdev.c).
--
Alexey
- [Qemu-ppc] [PATCH v3 0/5] spapr: add bootindex support, Alexey Kardashevskiy, 2013/12/10
- [Qemu-ppc] [PATCH v3 4/5] qdev: introduce get_fw_dev_path() callback, Alexey Kardashevskiy, 2013/12/10
- [Qemu-ppc] [PATCH v3 3/5] spapr-vio: fix firmware names, Alexey Kardashevskiy, 2013/12/10
- [Qemu-ppc] [PATCH v3 5/5] spapr: define interface to fix device pathname, Alexey Kardashevskiy, 2013/12/10
- [Qemu-ppc] [PATCH v3 2/5] spapr-llan: add to boot device list, Alexey Kardashevskiy, 2013/12/10
- [Qemu-ppc] [PATCH v3 1/5] boot: extend get_boot_devices_list() to ignore suffixes, Alexey Kardashevskiy, 2013/12/10