diff options
author | Viktor Prutyanov <viktor@daynix.com> | 2023-05-12 16:51:20 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-05-19 10:30:46 -0400 |
commit | 206e91d143301414df2deb48a411e402414ba6db (patch) | |
tree | 3021030f8d513e9d6539d0cee5e45dcff3a52b4c /block.c | |
parent | 9e57b81861e05b2856ed1c4fbc2d991801c7c777 (diff) |
virtio-pci: add handling of PCI ATS and Device-TLB enable/disable
According to PCIe Address Translation Services specification 5.1.3.,
ATS Control Register has Enable bit to enable/disable ATS. Guest may
enable/disable PCI ATS and, accordingly, Device-TLB for the VirtIO PCI
device. So, raise/lower a flag and call a trigger function to pass this
event to a device implementation.
Signed-off-by: Viktor Prutyanov <viktor@daynix.com>
Message-Id: <20230512135122.70403-2-viktor@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions