Re: [PATCH v2 03/10] make qdev_disconnect_gpio_out_named() public

2023-09-15 Thread lixianglai
Hi Philippe Mathieu-Daudé : Hi, On 12/9/23 04:11, xianglai li wrote: It will be reused in loongarch/virt.c for unwiring the vcpu<->exioi interrupts for the vcpu hot-(un)plug cases. Since we never had to use this, I'm surprised we really need it. QEMU IRQs/GPIOs are similar to hardware ones,

Re: [PATCH v2 03/10] make qdev_disconnect_gpio_out_named() public

2023-09-12 Thread Philippe Mathieu-Daudé
Hi, On 12/9/23 04:11, xianglai li wrote: It will be reused in loongarch/virt.c for unwiring the vcpu<->exioi interrupts for the vcpu hot-(un)plug cases. Since we never had to use this, I'm surprised we really need it. QEMU IRQs/GPIOs are similar to hardware ones, and aren't expected to be rew

[PATCH v2 03/10] make qdev_disconnect_gpio_out_named() public

2023-09-11 Thread xianglai li
It will be reused in loongarch/virt.c for unwiring the vcpu<->exioi interrupts for the vcpu hot-(un)plug cases. Co-authored-by: "Salil Mehta" Cc: "Salil Mehta" Cc: Xiaojuan Yang Cc: Song Gao Cc: "Michael S. Tsirkin" Cc: Igor Mammedov Cc: Ani Sinha Cc: Paolo Bonzini Cc: Richard Henderson C