I think you can take a look at how this is done in vhost_user_slave_handle_vring_host_notifier which is similar. On Mon, Nov 26, 2018 at 11:43 AM Suresh N <nsur.mys@xxxxxxxxx> wrote: > > Hi All, > > We are trying to access the registers of a device which is memory > mapped in the host (MMIO) from the guest. > > The Atom core we are using doesn't support the VT-d mechanism. > > The register access is working fine using the emulation in QEMU or in > the kernel using KVM. > > But, the idea is to use the EPT to directly access the registers > without the VM-exits. > > Is it possible to achieve this MMIO access from guest using the EPT ? > > Or I am I missing something ? > > Regards > > Suresh N -- Ido