RE: [PATCH v8 1/1] vfio/nvgpu: Add vfio pci variant module for grace hopper

From: Tian, Kevin
Date: Mon Sep 11 2023 - 18:09:34 EST


> From: Ankit Agrawal <ankita@xxxxxxxxxx>
> Sent: Monday, September 11, 2023 4:18 PM
>
> >> I don't see the goal as perfect emulation of the real HW.
> >>
> >> Aiming for minimally disruptive to the ecosystem to support this
> >> quirky pre-CXL HW.
> >>
> >> Perfect emulation would need a unique VFIO uAPI and more complex
> qemu
> >> changes, and it really brings nothing of value.
> >>
> >
> > Does it mean that this requires maintaining a new guest driver
> > different from the existing one on bare metal?
>
> No, the VM would use the same Nvidia open source driver that is used by the
> bare metal. (https://github.com/NVIDIA/open-gpu-kernel-modules).

because this driver already supports two ways of accessing the aperture:
one via the firmware table, the other using this fake BAR2?