hexware-kernel/patches/qemu/9013-antidetect-hw-nvme.patch
2024-07-26 03:09:31 +03:00

13 lines
630 B
Diff

diff -Naur --no-dereference a/hw/nvme/ctrl.c b/hw/nvme/ctrl.c
--- a/hw/nvme/ctrl.c 2023-07-04 11:03:21.615219292 +0000
+++ b/hw/nvme/ctrl.c 2023-07-04 11:39:20.301679934 +0000
@@ -8195,7 +8195,7 @@
id->vid = cpu_to_le16(pci_get_word(pci_conf + PCI_VENDOR_ID));
id->ssvid = cpu_to_le16(pci_get_word(pci_conf + PCI_SUBSYSTEM_VENDOR_ID));
- strpadcpy((char *)id->mn, sizeof(id->mn), "QEMU NVMe Ctrl", ' ');
+ strpadcpy((char *)id->mn, sizeof(id->mn), "ASUS NVMe Ctrl", ' ');
strpadcpy((char *)id->fr, sizeof(id->fr), QEMU_VERSION, ' ');
strpadcpy((char *)id->sn, sizeof(id->sn), n->params.serial, ' ');