Displaying 2 results from an estimated 2 matches for "vfio_pci_vmd_init".
Did you mean:
vfio_pci_igd_init
2020 May 11
0
[PATCH for QEMU v2] hw/vfio: Add VMD Passthrough Quirk
...MD_VMLOCK, 0);
> + pci_set_byte(vdev->emulated_config_bits + VMD_VMLOCK, 0x2);
> +
> + trace_vfio_pci_vmd_quirk_vmlock(vdev->vbasedev.name,
> + pci_get_byte(pdev->config + VMD_VMLOCK));
> +
> + return 0;
> +}
> +
> +int vfio_pci_vmd_init(VFIOPCIDevice *vdev)
> +{
> + int ret = 0;
> +
> + switch (vdev->device_id) {
> + case 0x28C0: /* Native passthrough support */
> + break;
> + /* Emulates Native passthrough support */
> + case 0x201D:
> + case 0x467F:
> + case 0x4C3D:
&g...
2020 May 13
0
[PATCH for QEMU v2] hw/vfio: Add VMD Passthrough Quirk
..., 0x2);
> > > +
> > > + trace_vfio_pci_vmd_quirk_vmlock(vdev->vbasedev.name,
> > > + pci_get_byte(pdev->config + VMD_VMLOCK));
> > > +
> > > + return 0;
> > > +}
> > > +
> > > +int vfio_pci_vmd_init(VFIOPCIDevice *vdev)
> > > +{
> > > + int ret = 0;
> > > +
> > > + switch (vdev->device_id) {
> > > + case 0x28C0: /* Native passthrough support */
> > > + break;
> > > + /* Emulates Native passthrough support */
&...