Re: [PATCH] hw/nvme: Add options to override hardcoded values

2022-07-13 Thread Mauricio Sandt
On 13/07/2022 20:48, Keith Busch wrote: I guess I'm missing the bigger picture here. You are supposed to be able to retrieve these fields with ioctl's, so not sure what this has to do with malware. Why does the firmware revision matter to this program? Oh I'm sorry, I forgot to explain properly.

Re: [PATCH] hw/nvme: Add options to override hardcoded values

2022-07-13 Thread Mauricio Sandt
ues (for all of them). If you encountered any problems, how did they manifest? On 13/07/2022 19:03, Keith Busch wrote: On Sun, Jun 12, 2022 at 12:35:09AM +0200, Mauricio Sandt wrote: This small patch is the result of some recent malware research I did in a QEMU VM. The malware used multiple ways o

Ping: [PATCH] hw/nvme: Add options to override hardcoded values

2022-07-13 Thread Mauricio Sandt
https://patchew.org/QEMU/20220611223509.32280-1-mauri...@mailbox.org/ https://lore.kernel.org/qemu-devel/20220611223509.32280-1-mauri...@mailbox.org/ On 12/06/2022 00:35, Mauricio Sandt wrote: This small patch is the result of some recent malware research I did in a QEMU VM. The malware used

[PATCH] hw/nvme: Add options to override hardcoded values

2022-06-11 Thread Mauricio Sandt
erride - Allows to set a custom nqn on the nvme device. Only used if there is no subsystem. This string should be in the same format as the default "nqn.2019-08.org.qemu:...", but there is no validation for that. Its up to the user to provide a valid string. Signed-off-by: Mauricio Sandt