Re: DMAR fault with qemu 7.2 and Ubuntu 22.04 base image

2023-02-14 Thread Klaus Jensen
On Feb 15 12:01, Major Saheb wrote: > > Assuming you are *not* explicitly configuring shadow doorbells, then I > > think you might have a broken driver that does not properly reset the > > controller before using it (are you tripping CC.EN?). That could explain > > the admin queue size of 32 (defau

Re: DMAR fault with qemu 7.2 and Ubuntu 22.04 base image

2023-02-14 Thread Major Saheb
> Assuming you are *not* explicitly configuring shadow doorbells, then I > think you might have a broken driver that does not properly reset the > controller before using it (are you tripping CC.EN?). That could explain > the admin queue size of 32 (default admin queue depth for the Linux nvme > dr

Re: DMAR fault with qemu 7.2 and Ubuntu 22.04 base image

2023-02-14 Thread Klaus Jensen
On Feb 14 14:05, Klaus Jensen wrote: > On Feb 14 17:34, Major Saheb wrote: > > Thanks Peter for the reply. I tried to connect gdb to qemu and able to > > break 'vtd_iova_to_slpte()', I dumped the following with both Ubuntu > > 20.04 base image container which is the success case and Ubuntu 22.04 >

Re: DMAR fault with qemu 7.2 and Ubuntu 22.04 base image

2023-02-14 Thread Klaus Jensen
On Feb 14 17:34, Major Saheb wrote: > Thanks Peter for the reply. I tried to connect gdb to qemu and able to > break 'vtd_iova_to_slpte()', I dumped the following with both Ubuntu > 20.04 base image container which is the success case and Ubuntu 22.04 > base image container which is failure case >

Re: DMAR fault with qemu 7.2 and Ubuntu 22.04 base image

2023-02-14 Thread Major Saheb
Thanks Peter for the reply. I tried to connect gdb to qemu and able to break 'vtd_iova_to_slpte()', I dumped the following with both Ubuntu 20.04 base image container which is the success case and Ubuntu 22.04 base image container which is failure case One thing I observed is the NvmeSQueue::dma_ad

Re: DMAR fault with qemu 7.2 and Ubuntu 22.04 base image

2023-02-13 Thread Peter Xu
On Mon, Feb 13, 2023 at 10:15:34PM +0530, Major Saheb wrote: > Hi All, Hi, Major, > > I am facing an issue with qemu 7.2 rc2 with nvme. I have a container Is there any known working qemu version? Or should I assume it's failing always? > running Ubuntu 22.04 base image and host is running Ubu

DMAR fault with qemu 7.2 and Ubuntu 22.04 base image

2023-02-13 Thread Major Saheb
Hi All, I am facing an issue with qemu 7.2 rc2 with nvme. I have a container running Ubuntu 22.04 base image and host is running Ubuntu 22.04 (Linux node-1 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux), and I am using vfio-pci to communicate with nvm