Re: [PATCH v3 2/7] hw/pci: Determine if rombar is explicitly enabled

2024-02-13 Thread Akihiko Odaki
On 2024/02/13 19:52, Michael S. Tsirkin wrote: On Mon, Feb 12, 2024 at 07:20:30PM +0900, Akihiko Odaki wrote: vfio determines if rombar is explicitly enabled by inspecting QDict. Inspecting QDict is not nice because QDict is untyped and depends on the details on the external interface. Add an

Re: [PATCH v3 2/7] hw/pci: Determine if rombar is explicitly enabled

2024-02-13 Thread Michael S. Tsirkin
On Mon, Feb 12, 2024 at 07:20:30PM +0900, Akihiko Odaki wrote: > vfio determines if rombar is explicitly enabled by inspecting QDict. > Inspecting QDict is not nice because QDict is untyped and depends on the > details on the external interface. Add an infrastructure to determine if > rombar is

[PATCH v3 2/7] hw/pci: Determine if rombar is explicitly enabled

2024-02-12 Thread Akihiko Odaki
vfio determines if rombar is explicitly enabled by inspecting QDict. Inspecting QDict is not nice because QDict is untyped and depends on the details on the external interface. Add an infrastructure to determine if rombar is explicitly enabled to hw/pci. Signed-off-by: Akihiko Odaki ---