> From: Joao Martins <joao.m.martins@xxxxxxxxxx> > Sent: Thursday, October 19, 2023 4:27 AM > > Expand mock_domain test to be able to manipulate the device capabilities. > This allows testing with mockdev without dirty tracking support advertised > and thus make sure enforce_dirty test does the expected. > > To avoid breaking IOMMUFD_TEST UABI replicate the mock_domain struct > and > thus add an input dev_flags at the end. > > Signed-off-by: Joao Martins <joao.m.martins@xxxxxxxxxx> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>