[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/9] hw/nvram: Restrict stub to sysemu and tools
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 1/9] hw/nvram: Restrict stub to sysemu and tools |
Date: |
Tue, 11 Jan 2022 11:43:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 |
On 1/7/22 01:17, Richard Henderson wrote:
> On 1/4/22 12:54 AM, Philippe Mathieu-Daudé wrote:
>> +if have_system or have_tools
> ...
>> if have_system
>> + stub_ss.add(files('fw_cfg.c'))
>
> Disconnect in tests?
(I assume s/tests/stubs/).
fw_cfg-interface.c exposes the fw_cfg QOM interface, which is not
used by tools, but since interfaces are checked when QOM object is
created, we must include it to be able to use qemu-storage-daemon.
fw_cfg.c add a fw_cfg_arch_key_name() stub which is only required
for sysemu.
So no, there is no disconnect. I will however split this patch in
2 and better describe each change.
Thanks,
Phil.
- [PATCH v2 0/9] hw/dma: Use dma_addr_t type definition when relevant, Philippe Mathieu-Daudé, 2022/01/04
- [PATCH v2 1/9] hw/nvram: Restrict stub to sysemu and tools, Philippe Mathieu-Daudé, 2022/01/04
- [PATCH v2 2/9] hw/pci: Restrict pci-bus stub to sysemu, Philippe Mathieu-Daudé, 2022/01/04
- [PATCH v2 3/9] hw/pci: Document pci_dma_map(), Philippe Mathieu-Daudé, 2022/01/04
- [PATCH v2 4/9] hw/dma: Remove CONFIG_USER_ONLY check, Philippe Mathieu-Daudé, 2022/01/04
- [PATCH v2 5/9] hw/rdma/rdma_utils: Rename rdma_pci_dma_map 'len' argument, Philippe Mathieu-Daudé, 2022/01/04