> On 21. Jan 2026, at 13:19, Peter Maydell <[email protected]> wrote: > > On Wed, 21 Jan 2026 at 12:00, Mohamed Mediouni <[email protected]> > wrote: >> >> >> >>> On 21. Jan 2026, at 12:33, Peter Maydell <[email protected]> wrote: >>> >>> which I think means we do need >>> the its option to be an on/off/auto one >> >> Hello, >> >> Would this be ok instead? >> >> typedef enum VirtMSIControllerType { >> VIRT_MSI_CTRL_NONE, >> /* This value is overriden at runtime.*/ >> VIRT_MSI_CTRL_AUTO, >> /* Legacy option: its=off provides a GICv2m when using GICv2.*/ >> VIRT_MSI_LEGACY_OPT_ITS_OFF, >> VIRT_MSI_CTRL_GICV2M, >> VIRT_MSI_CTRL_ITS, >> } VirtMSIControllerType; >> >> Combined with: >> >> static void finalize_msi_controller(VirtMachineState *vms) >> { >> if (vms->msi_controller == VIRT_MSI_LEGACY_OPT_ITS_OFF) { >> if (vms->gic_version == 2) { >> vms->msi_controller = VIRT_MSI_CTRL_GICV2M; >> } >> else { >> vms->msi_controller = VIRT_MSI_CTRL_NONE; >> } >> } > > Is this with the idea that the its option get/set > functions would set msi_controller (to ITS_OFF or ITS) ? > Yes, vms->its is completely gone in my tree. Going to post a rev with it soon, would you prefer to have it separate instead of a whole WHPX series? > thanks > -- PMM
- [PATCH v16 09/26] whpx: Move around files before i... Mohamed Mediouni
- Re: [PATCH v16 09/26] whpx: Move around files... Philippe Mathieu-Daudé
- [PATCH v16 04/26] hw/arm: virt: add GICv2m for the... Mohamed Mediouni
- Re: [PATCH v16 04/26] hw/arm: virt: add GICv2... Peter Maydell
- Re: [PATCH v16 04/26] hw/arm: virt: add G... Mohamed Mediouni
- Re: [PATCH v16 04/26] hw/arm: virt: a... Peter Maydell
- Re: [PATCH v16 04/26] hw/arm: vir... Mohamed Mediouni
- Re: [PATCH v16 04/26] hw/arm... Peter Maydell
- Re: [PATCH v16 04/26] hw... Mohamed Mediouni
- Re: [PATCH v16 04/26] hw... Peter Maydell
- Re: [PATCH v16 04/26] hw... Mohamed Mediouni
- Re: [PATCH v16 04/26] hw... Peter Maydell
- [PATCH v16 02/26] accel/system: Introduce hwaccel_... Mohamed Mediouni
- [PATCH v16 12/26] whpx: common: add WHPX_INTERCEPT... Mohamed Mediouni
- [PATCH v16 21/26] target/arm: whpx: instantiate GI... Mohamed Mediouni
- [PATCH v16 17/26] target/arm: cpu: mark WHPX as su... Mohamed Mediouni
- [PATCH v16 23/26] whpx: enable arm64 builds Mohamed Mediouni
- [PATCH v16 20/26] whpx: arm64: implement -cpu host Mohamed Mediouni
- [PATCH v16 11/26] whpx: ifdef out winhvemulation o... Mohamed Mediouni
- Re: [PATCH v16 11/26] whpx: ifdef out winhvem... Philippe Mathieu-Daudé
- [PATCH v16 05/26] tests: data: update AArch64 ACPI... Mohamed Mediouni
