Re: [PATCH v3] virtio-pci: Fix the use of an uninitialized irqfd

2024-06-27 Thread Cindy Lu
On Thu, Jun 27, 2024 at 4:55 PM Michael S. Tsirkin wrote: > > On Thu, Jun 27, 2024 at 04:40:33PM +0800, Cindy Lu wrote: > > On Wed, Jun 26, 2024 at 3:45 PM Michael S. Tsirkin wrote: > > > > > > On Wed, Jun 26, 2024 at 10:44:31AM +0800, Cindy Lu wrote: > > > > The crash was reported in MAC OS and

Re: [PATCH v3] virtio-pci: Fix the use of an uninitialized irqfd

2024-06-27 Thread Michael S. Tsirkin
On Thu, Jun 27, 2024 at 04:40:33PM +0800, Cindy Lu wrote: > On Wed, Jun 26, 2024 at 3:45 PM Michael S. Tsirkin wrote: > > > > On Wed, Jun 26, 2024 at 10:44:31AM +0800, Cindy Lu wrote: > > > The crash was reported in MAC OS and NixOS, here is the link for this bug > > > https://gitlab.com/qemu-proj

Re: [PATCH v3] virtio-pci: Fix the use of an uninitialized irqfd

2024-06-27 Thread Cindy Lu
On Wed, Jun 26, 2024 at 3:45 PM Michael S. Tsirkin wrote: > > On Wed, Jun 26, 2024 at 10:44:31AM +0800, Cindy Lu wrote: > > The crash was reported in MAC OS and NixOS, here is the link for this bug > > https://gitlab.com/qemu-project/qemu/-/issues/2334 > > https://gitlab.com/qemu-project/qemu/-/is

Re: [PATCH v3] virtio-pci: Fix the use of an uninitialized irqfd

2024-06-26 Thread Michael S. Tsirkin
On Wed, Jun 26, 2024 at 10:44:31AM +0800, Cindy Lu wrote: > The crash was reported in MAC OS and NixOS, here is the link for this bug > https://gitlab.com/qemu-project/qemu/-/issues/2334 > https://gitlab.com/qemu-project/qemu/-/issues/2321 > > The root cause is the function virtio_pci_set_guest_no

[PATCH v3] virtio-pci: Fix the use of an uninitialized irqfd

2024-06-25 Thread Cindy Lu
The crash was reported in MAC OS and NixOS, here is the link for this bug https://gitlab.com/qemu-project/qemu/-/issues/2334 https://gitlab.com/qemu-project/qemu/-/issues/2321 The root cause is the function virtio_pci_set_guest_notifiers() was not called in the virtio_input device.So the vector_ir