[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 05/13] microvm: add acpi_dsdt_add_virtio() for x86
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH 05/13] microvm: add acpi_dsdt_add_virtio() for x86 |
Date: |
Fri, 20 Mar 2020 09:19:48 +0100 |
Hi,
> > + uint32_t irq = VIRTIO_IRQ_BASE + index;
> > + hwaddr base = VIRTIO_MMIO_BASE + index * 512;
> > + hwaddr size = 512;
> is it possible to fish these values out from device without poking in its guts
> like using sysbus_get_connected_irq() and make up something to do get mmio
> parameters from sysbus device
Had a brief look at this while making VIRTIO_IRQ_BASE configurable.
The virtio-mmio proxy gets passed an qemu_irq struct on initialization,
so it doesn't know what the irq number is ...
cheers,
Gerd
- [PATCH 01/13] acpi: make build_madt() more generic., (continued)
- [PATCH 01/13] acpi: make build_madt() more generic., Gerd Hoffmann, 2020/03/19
- [PATCH 12/13] microvm: make virtio irq base runtime configurable, Gerd Hoffmann, 2020/03/19
- [PATCH 08/13] [testing] seabios: update config & build rules, Gerd Hoffmann, 2020/03/19
- [PATCH 10/13] microvm/acpi: add rtc, Gerd Hoffmann, 2020/03/19
- [PATCH 06/13] microvm: disable virtio-mmio cmdline hack, Gerd Hoffmann, 2020/03/19
- [PATCH 11/13] microvm/acpi: add serial, Gerd Hoffmann, 2020/03/19
- [PATCH 07/13] [testing] seabios: update submodule to experimental microvm branch, Gerd Hoffmann, 2020/03/19
- [PATCH 05/13] microvm: add acpi_dsdt_add_virtio() for x86, Gerd Hoffmann, 2020/03/19
- [PATCH 09/13] [testing] seabios: update binaries to experimental microvm branch, Gerd Hoffmann, 2020/03/19
- Re: [PATCH 00/13] microvm: add acpi support, no-reply, 2020/03/19
- Re: [PATCH 00/13] microvm: add acpi support, no-reply, 2020/03/19
- Re: [PATCH 00/13] microvm: add acpi support, no-reply, 2020/03/19
- Re: [PATCH 00/13] microvm: add acpi support, Paolo Bonzini, 2020/03/19
- Re: [PATCH 00/13] microvm: add acpi support, Gerd Hoffmann, 2020/03/19