Re: [PATCH v3 4/4] KVM: selftests: aarch64: Test VGIC ITS tables save/restore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Adding Eric to the list, since he worked a lot on the save/restore code]

On Wed, 06 Nov 2024 08:30:35 +0000,
Jing Zhang <jingzhangos@xxxxxxxxxx> wrote:
> 
> Add a selftest to verify the correctness of the VGIC ITS mappings after
> the save/restore operations (KVM_DEV_ARM_ITS_SAVE_TABLES /
> KVM_DEV_ARM_ITS_RESTORE_TABLES).

What are you checking? The saved data? The restored data?

> Also calculate the time spending on save/restore operations.

Is that really relevant? I don't think performance matters at this
stage, if we can't even have reliable data.

> This test uses some corner cases to capture the save/restore bugs. It

Which corner cases?

> will be used to verify the future incoming changes for the VGIC ITS
> tables save/restore.
> 
> To capture the "Invalid argument (-22)" error, run the test without any
> option. To capture the wrong/lost mappings, run the test with '-s'
> option.
> Since the VGIC ITS save/restore bug is caused by orphaned DTE/ITE
> entries, if we run the test with '-c' option whih clears the tables
> before the save operation, the test will complete successfully.

I'm sorry, but this description is meaningless, as you need to know
what is the bug that has been fixed.

Also, how is someone supposed to run this thing? Without options? With
options? With any combination of options?


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux