Re: [PATCH] hw/misc: Add a virtual PCILeech device

2024-08-29 Thread Zero Tang
Thanks for your comments, and let me answer the top-level questions first. Firstly, how useful is this to QEMU users in general? > It seems very specific. > > Secondly, there's no documentation here that explains > what it is, why users might care about it, or how to use it. > > Thirdly, it looks

Re: [PATCH] hw/misc: Add a virtual PCILeech device

2024-08-29 Thread Peter Maydell
On Tue, 6 Aug 2024 at 10:28, Zero Tang wrote: > > This virtual PCILeech device aims to help security researchers attack the > guest via DMA and test their IOMMU defenses. > This device is intended to support any systems with PCI, but I am only able > to test x86-based guests. > For what PCILeech

Re: [PATCH] hw/misc: Add a virtual PCILeech device

2024-08-25 Thread Zero Tang
I'd like to *PING* this patch once again. Please review this patch. If there is anything missing or ambiguous in the patch, please let me know. Thanks, Zero Tang On Sun, Aug 18, 2024 at 1:30 AM Zero Tang wrote: > Hello, > > I'd like to ping this patch in that the QEMU-PCILeech plugin is now mer

Re: [PATCH] hw/misc: Add a virtual PCILeech device

2024-08-17 Thread Zero Tang
Hello, I'd like to ping this patch in that the QEMU-PCILeech plugin is now merged into the PCILeech repository: https://github.com/ufrisk/LeechCore-plugins/pull/10 The Patchew link is: https://patchew.org/QEMU/caaxnugbyhpx249duwgyxotgjkxwatrhjsq94lrvfmgp._5fgjx...@mail.gmail.com/ Kind Regards, Ze

[PATCH] hw/misc: Add a virtual PCILeech device

2024-08-06 Thread Zero Tang
This virtual PCILeech device aims to help security researchers attack the guest via DMA and test their IOMMU defenses. This device is intended to support any systems with PCI, but I am only able to test x86-based guests. For what PCILeech is, check PCILeech GitHub repository: https://github.com/ufr

hw/misc: Add a virtual PCILeech device

2024-08-03 Thread Zero Tang
This virtual PCI device is intended for security researchers to attack the guest via DMA. This is my first-time contribution and I hope I am doing things correctly. Signed-off-by: Zero Tang --- hw/misc/Kconfig | 5 + hw/misc/meson.build | 1 + hw/misc/pcileech.c | 283 ++