-
Notifications
You must be signed in to change notification settings - Fork 38
/
001-anti-detection.patch
1180 lines (1067 loc) · 47.9 KB
/
001-anti-detection.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
diff -Naur --no-dereference a/block/vhdx.c b/block/vhdx.c
--- a/block/vhdx.c 2023-07-04 11:03:21.519219222 +0000
+++ b/block/vhdx.c 2023-07-04 11:39:20.297679935 +0000
@@ -2009,7 +2009,7 @@
/* The creator field is optional, but may be useful for
* debugging / diagnostics */
- creator = g_utf8_to_utf16("QEMU v" QEMU_VERSION, -1, NULL,
+ creator = g_utf8_to_utf16("ASUS v" QEMU_VERSION, -1, NULL,
&creator_items, NULL);
signature = cpu_to_le64(VHDX_FILE_SIGNATURE);
ret = blk_co_pwrite(blk, VHDX_FILE_ID_OFFSET, sizeof(signature), &signature,
diff -Naur --no-dereference a/block/vvfat.c b/block/vvfat.c
--- a/block/vvfat.c 2023-07-04 11:03:21.519219222 +0000
+++ b/block/vvfat.c 2023-07-04 11:39:20.297679935 +0000
@@ -1176,7 +1176,7 @@
}
memcpy(s->volume_label, label, label_length);
} else {
- memcpy(s->volume_label, "QEMU VVFAT", 10);
+ memcpy(s->volume_label, "ASUS VVFAT", 10);
}
if (floppy) {
diff -Naur --no-dereference a/chardev/msmouse.c b/chardev/msmouse.c
--- a/chardev/msmouse.c 2023-07-04 11:03:21.523219224 +0000
+++ b/chardev/msmouse.c 2023-07-04 11:39:20.297679935 +0000
@@ -172,7 +172,7 @@
}
static QemuInputHandler msmouse_handler = {
- .name = "QEMU Microsoft Mouse",
+ .name = "ASUS Microsoft Mouse",
.mask = INPUT_EVENT_MASK_BTN | INPUT_EVENT_MASK_REL,
.event = msmouse_input_event,
.sync = msmouse_input_sync,
diff -Naur --no-dereference a/chardev/wctablet.c b/chardev/wctablet.c
--- a/chardev/wctablet.c 2023-07-04 11:03:21.523219224 +0000
+++ b/chardev/wctablet.c 2023-07-04 11:39:20.297679935 +0000
@@ -179,7 +179,7 @@
}
static QemuInputHandler wctablet_handler = {
- .name = "QEMU Wacom Pen Tablet",
+ .name = "ASUS Wacom Pen Tablet",
.mask = INPUT_EVENT_MASK_BTN | INPUT_EVENT_MASK_ABS,
.event = wctablet_input_event,
.sync = wctablet_input_sync,
diff -Naur --no-dereference a/contrib/vhost-user-gpu/vhost-user-gpu.c b/contrib/vhost-user-gpu/vhost-user-gpu.c
--- a/contrib/vhost-user-gpu/vhost-user-gpu.c 2023-07-04 11:03:21.527219227 +0000
+++ b/contrib/vhost-user-gpu/vhost-user-gpu.c 2023-07-04 11:39:20.297679935 +0000
@@ -1190,7 +1190,7 @@
QTAILQ_INIT(&g.reslist);
QTAILQ_INIT(&g.fenceq);
- context = g_option_context_new("QEMU vhost-user-gpu");
+ context = g_option_context_new("ASUS vhost-user-gpu");
g_option_context_add_main_entries(context, entries, NULL);
if (!g_option_context_parse(context, &argc, &argv, &error)) {
g_printerr("Option parsing failed: %s\n", error->message);
diff -Naur --no-dereference a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
--- a/hw/acpi/aml-build.c 2023-07-04 11:03:21.555219247 +0000
+++ b/hw/acpi/aml-build.c 2023-07-04 11:39:20.297679935 +0000
@@ -1724,11 +1724,11 @@
build_append_int_noprefix(array, 0, 4); /* Length */
build_append_int_noprefix(array, desc->rev, 1); /* Revision */
build_append_int_noprefix(array, 0, 1); /* Checksum */
- build_append_padded_str(array, desc->oem_id, 6, '\0'); /* OEMID */
+ build_append_padded_str(array, ACPI_BUILD_APPNAME6, 6, '\0'); /* OEMID */ //desc->oem_id
/* OEM Table ID */
- build_append_padded_str(array, desc->oem_table_id, 8, '\0');
+ build_append_padded_str(array, ACPI_BUILD_APPNAME8, 8, '\0'); //desc->oem_table_id
build_append_int_noprefix(array, 1, 4); /* OEM Revision */
- g_array_append_vals(array, ACPI_BUILD_APPNAME8, 4); /* Creator ID */
+ g_array_append_vals(array, "PTL ", 4); /* Creator ID */
build_append_int_noprefix(array, 1, 4); /* Creator Revision */
}
diff -Naur --no-dereference a/hw/acpi/vmgenid.c b/hw/acpi/vmgenid.c
--- a/hw/acpi/vmgenid.c 2023-07-04 12:01:31.057362700 +0000
+++ b/hw/acpi/vmgenid.c 2023-07-20 17:00:52.308762303 +0000
@@ -25,6 +25,8 @@
void vmgenid_build_acpi(VmGenIdState *vms, GArray *table_data, GArray *guid,
BIOSLinker *linker, const char *oem_id)
{
+ //FUCK YOU~~~
+ return;
Aml *ssdt, *dev, *scope, *method, *addr, *if_ctx;
uint32_t vgia_offset;
QemuUUID guid_le;
diff -Naur --no-dereference a/hw/arm/nseries.c b/hw/arm/nseries.c
--- a/hw/arm/nseries.c 2023-07-04 11:03:21.559219251 +0000
+++ b/hw/arm/nseries.c 2023-07-04 11:39:20.297679935 +0000
@@ -849,7 +849,7 @@
memset(p, 0, 0x3000);
- strcpy((void *) (p + 0), "QEMU N800");
+ strcpy((void *) (p + 0), "ASUS N800");
strcpy((void *) (p + 8), "F5");
@@ -1152,7 +1152,7 @@
stw_p(w++, OMAP_TAG_LCD); /* u16 tag */
stw_p(w++, 36); /* u16 len */
- strcpy((void *) w, "QEMU LCD panel"); /* char panel_name[16] */
+ strcpy((void *) w, "ASUS LCD panel"); /* char panel_name[16] */
w += 8;
strcpy((void *) w, "blizzard"); /* char ctrl_name[16] */
w += 8;
@@ -1272,11 +1272,11 @@
stw_p(w++, 24); /* u16 len */
strcpy((void *) w, "hw-build"); /* char component[12] */
w += 6;
- strcpy((void *) w, "QEMU ");
+ strcpy((void *) w, "ASUS ");
pstrcat((void *) w, 12, qemu_hw_version()); /* char version[12] */
w += 6;
- tag = (model == 810) ? "1.1.10-qemu" : "1.1.6-qemu";
+ tag = (model == 810) ? "1.1.10-asus" : "1.1.6-asus";
stw_p(w++, OMAP_TAG_VERSION_STR); /* u16 tag */
stw_p(w++, 24); /* u16 len */
strcpy((void *) w, "nolo"); /* char component[12] */
diff -Naur --no-dereference a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
--- a/hw/arm/sbsa-ref.c 2023-07-04 11:03:21.563219253 +0000
+++ b/hw/arm/sbsa-ref.c 2023-07-04 11:39:20.297679935 +0000
@@ -851,7 +851,7 @@
MachineClass *mc = MACHINE_CLASS(oc);
mc->init = sbsa_ref_init;
- mc->desc = "QEMU 'SBSA Reference' ARM Virtual Machine";
+ mc->desc = "ASUS 'SBSA Reference' ARM Real Machine";
mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-a57");
mc->max_cpus = 512;
mc->pci_allow_0_address = true;
diff -Naur --no-dereference a/hw/audio/hda-codec.c b/hw/audio/hda-codec.c
--- a/hw/audio/hda-codec.c 2023-07-04 11:03:21.567219257 +0000
+++ b/hw/audio/hda-codec.c 2023-07-04 11:39:20.297679935 +0000
@@ -117,7 +117,7 @@
/* some defines */
-#define QEMU_HDA_ID_VENDOR 0x1af4
+#define QEMU_HDA_ID_VENDOR 0x8086
#define QEMU_HDA_PCM_FORMATS (AC_SUPPCM_BITS_16 | \
0x1fc /* 16 -> 96 kHz */)
#define QEMU_HDA_AMP_NONE (0)
diff -Naur --no-dereference a/hw/char/escc.c b/hw/char/escc.c
--- a/hw/char/escc.c 2023-07-04 11:03:21.571219259 +0000
+++ b/hw/char/escc.c 2023-07-04 11:39:20.297679935 +0000
@@ -959,7 +959,7 @@
if (s->chn[0].type == escc_mouse) {
qemu_add_mouse_event_handler(sunmouse_event, &s->chn[0], 0,
- "QEMU Sun Mouse");
+ "ASUS Sun Mouse");
}
if (s->chn[1].type == escc_kbd) {
s->chn[1].hs = qemu_input_handler_register((DeviceState *)(&s->chn[1]),
diff -Naur --no-dereference a/hw/display/edid-generate.c b/hw/display/edid-generate.c
--- a/hw/display/edid-generate.c 2023-07-04 11:03:21.575219263 +0000
+++ b/hw/display/edid-generate.c 2023-07-04 11:39:20.297679935 +0000
@@ -394,10 +394,10 @@
/* =============== set defaults =============== */
if (!info->vendor || strlen(info->vendor) != 3) {
- info->vendor = "RHT";
+ info->vendor = "DEL";
}
if (!info->name) {
- info->name = "QEMU Monitor";
+ info->name = "DEL Monitor";
}
if (!info->prefx) {
info->prefx = 1280;
@@ -449,7 +449,7 @@
uint16_t vendor_id = ((((info->vendor[0] - '@') & 0x1f) << 10) |
(((info->vendor[1] - '@') & 0x1f) << 5) |
(((info->vendor[2] - '@') & 0x1f) << 0));
- uint16_t model_nr = 0x1234;
+ uint16_t model_nr = 0xA05F;
uint32_t serial_nr = info->serial ? atoi(info->serial) : 0;
stw_be_p(edid + 8, vendor_id);
stw_le_p(edid + 10, model_nr);
diff -Naur --no-dereference a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
--- a/hw/i386/acpi-build.c 2023-07-04 11:03:21.583219269 +0000
+++ b/hw/i386/acpi-build.c 2023-07-20 16:54:22.568741489 +0000
@@ -943,6 +943,7 @@
static void build_dbg_aml(Aml *table)
{
+ return;
Aml *field;
Aml *method;
Aml *while_ctx;
@@ -1770,13 +1771,6 @@
aml_append(scope, aml_name_decl("_S5", pkg));
aml_append(dsdt, scope);
- /* create fw_cfg node, unconditionally */
- {
- scope = aml_scope("\\_SB.PCI0");
- fw_cfg_add_acpi_dsdt(scope, x86ms->fw_cfg);
- aml_append(dsdt, scope);
- }
-
sb_scope = aml_scope("\\_SB");
{
Object *pci_host = acpi_get_i386_pci_host();
diff -Naur --no-dereference a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
--- a/hw/i386/pc_piix.c 2023-07-04 11:03:21.587219272 +0000
+++ b/hw/i386/pc_piix.c 2023-07-04 11:39:20.301679934 +0000
@@ -198,7 +198,7 @@
if (pcmc->smbios_defaults) {
MachineClass *mc = MACHINE_GET_CLASS(machine);
/* These values are guest ABI, do not change */
- smbios_set_defaults("QEMU", "Standard PC (i440FX + PIIX, 1996)",
+ smbios_set_defaults("ASUS", "M4A88TD-M",
mc->name, pcmc->smbios_legacy_mode,
pcmc->smbios_uuid_encoded,
pcms->smbios_entry_point_type);
diff -Naur --no-dereference a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
--- a/hw/i386/pc_q35.c 2023-07-04 11:03:21.587219272 +0000
+++ b/hw/i386/pc_q35.c 2023-07-04 11:39:20.301679934 +0000
@@ -199,9 +199,9 @@
if (pcmc->smbios_defaults) {
/* These values are guest ABI, do not change */
- smbios_set_defaults("QEMU", "Standard PC (Q35 + ICH9, 2009)",
- mc->name, pcmc->smbios_legacy_mode,
- pcmc->smbios_uuid_encoded,
+ smbios_set_defaults("ASUS", "M4A88TD-M",
+ "ASUS-PC", pcmc->smbios_legacy_mode,
+ 0x00,
pcms->smbios_entry_point_type);
}
diff -Naur --no-dereference a/hw/ide/atapi.c b/hw/ide/atapi.c
--- a/hw/ide/atapi.c 2023-07-04 11:03:21.587219272 +0000
+++ b/hw/ide/atapi.c 2023-07-04 11:39:20.301679934 +0000
@@ -797,8 +797,8 @@
buf[5] = 0; /* reserved */
buf[6] = 0; /* reserved */
buf[7] = 0; /* reserved */
- padstr8(buf + 8, 8, "QEMU");
- padstr8(buf + 16, 16, "QEMU DVD-ROM");
+ padstr8(buf + 8, 8, "ASUS");
+ padstr8(buf + 16, 16, "ASUS DVD-ROM");
padstr8(buf + 32, 4, s->version);
idx = 36;
}
diff -Naur --no-dereference a/hw/ide/core.c b/hw/ide/core.c
--- a/hw/ide/core.c 2023-07-04 11:21:46.000000000 +0000
+++ b/hw/ide/core.c 2023-07-04 11:39:20.301679934 +0000
@@ -2616,20 +2616,20 @@
pstrcpy(s->drive_serial_str, sizeof(s->drive_serial_str), serial);
} else {
snprintf(s->drive_serial_str, sizeof(s->drive_serial_str),
- "QM%05d", s->drive_serial);
+ "ASUS%05d", s->drive_serial);
}
if (model) {
pstrcpy(s->drive_model_str, sizeof(s->drive_model_str), model);
} else {
switch (kind) {
case IDE_CD:
- strcpy(s->drive_model_str, "QEMU DVD-ROM");
+ strcpy(s->drive_model_str, "ASUS DVD-ROM");
break;
case IDE_CFATA:
- strcpy(s->drive_model_str, "QEMU MICRODRIVE");
+ strcpy(s->drive_model_str, "ASUS MICRODRIVE");
break;
default:
- strcpy(s->drive_model_str, "QEMU HARDDISK");
+ strcpy(s->drive_model_str, "ASUS HARDDISK");
break;
}
}
diff -Naur --no-dereference a/hw/input/adb-kbd.c b/hw/input/adb-kbd.c
--- a/hw/input/adb-kbd.c 2023-07-04 11:03:21.591219274 +0000
+++ b/hw/input/adb-kbd.c 2023-07-04 11:39:20.301679934 +0000
@@ -356,7 +356,7 @@
}
static QemuInputHandler adb_keyboard_handler = {
- .name = "QEMU ADB Keyboard",
+ .name = "ASUS ADB Keyboard",
.mask = INPUT_EVENT_MASK_KEY,
.event = adb_keyboard_event,
};
diff -Naur --no-dereference a/hw/input/adb-mouse.c b/hw/input/adb-mouse.c
--- a/hw/input/adb-mouse.c 2023-07-04 11:03:21.591219274 +0000
+++ b/hw/input/adb-mouse.c 2023-07-04 11:39:20.301679934 +0000
@@ -236,7 +236,7 @@
amc->parent_realize(dev, errp);
- qemu_add_mouse_event_handler(adb_mouse_event, s, 0, "QEMU ADB Mouse");
+ qemu_add_mouse_event_handler(adb_mouse_event, s, 0, "ASUS ADB Mouse");
}
static void adb_mouse_initfn(Object *obj)
diff -Naur --no-dereference a/hw/input/ads7846.c b/hw/input/ads7846.c
--- a/hw/input/ads7846.c 2023-07-04 11:03:21.591219274 +0000
+++ b/hw/input/ads7846.c 2023-07-04 11:39:20.301679934 +0000
@@ -154,7 +154,7 @@
/* We want absolute coordinates */
qemu_add_mouse_event_handler(ads7846_ts_event, s, 1,
- "QEMU ADS7846-driven Touchscreen");
+ "ASUS ADS7846-driven Touchscreen");
ads7846_int_update(s);
diff -Naur --no-dereference a/hw/input/hid.c b/hw/input/hid.c
--- a/hw/input/hid.c 2023-07-04 11:03:21.591219274 +0000
+++ b/hw/input/hid.c 2023-07-04 11:39:20.301679934 +0000
@@ -511,20 +511,20 @@
}
static QemuInputHandler hid_keyboard_handler = {
- .name = "QEMU HID Keyboard",
+ .name = "ASUS HID Keyboard",
.mask = INPUT_EVENT_MASK_KEY,
.event = hid_keyboard_event,
};
static QemuInputHandler hid_mouse_handler = {
- .name = "QEMU HID Mouse",
+ .name = "ASUS HID Mouse",
.mask = INPUT_EVENT_MASK_BTN | INPUT_EVENT_MASK_REL,
.event = hid_pointer_event,
.sync = hid_pointer_sync,
};
static QemuInputHandler hid_tablet_handler = {
- .name = "QEMU HID Tablet",
+ .name = "ASUS HID Tablet",
.mask = INPUT_EVENT_MASK_BTN | INPUT_EVENT_MASK_ABS,
.event = hid_pointer_event,
.sync = hid_pointer_sync,
diff -Naur --no-dereference a/hw/input/ps2.c b/hw/input/ps2.c
--- a/hw/input/ps2.c 2023-07-04 11:03:21.591219274 +0000
+++ b/hw/input/ps2.c 2023-07-04 11:39:20.301679934 +0000
@@ -1232,7 +1232,7 @@
};
static QemuInputHandler ps2_keyboard_handler = {
- .name = "QEMU PS/2 Keyboard",
+ .name = "ASUS PS/2 Keyboard",
.mask = INPUT_EVENT_MASK_KEY,
.event = ps2_keyboard_event,
};
@@ -1243,7 +1243,7 @@
}
static QemuInputHandler ps2_mouse_handler = {
- .name = "QEMU PS/2 Mouse",
+ .name = "ASUS PS/2 Mouse",
.mask = INPUT_EVENT_MASK_BTN | INPUT_EVENT_MASK_REL,
.event = ps2_mouse_event,
.sync = ps2_mouse_sync,
diff -Naur --no-dereference a/hw/input/tsc2005.c b/hw/input/tsc2005.c
--- a/hw/input/tsc2005.c 2023-07-04 11:03:21.591219274 +0000
+++ b/hw/input/tsc2005.c 2023-07-04 11:39:20.301679934 +0000
@@ -510,7 +510,7 @@
tsc2005_reset(s);
qemu_add_mouse_event_handler(tsc2005_touchscreen_event, s, 1,
- "QEMU TSC2005-driven Touchscreen");
+ "ASUS TSC2005-driven Touchscreen");
qemu_register_reset((void *) tsc2005_reset, s);
vmstate_register(NULL, 0, &vmstate_tsc2005, s);
diff -Naur --no-dereference a/hw/input/tsc210x.c b/hw/input/tsc210x.c
--- a/hw/input/tsc210x.c 2023-07-04 11:03:21.591219274 +0000
+++ b/hw/input/tsc210x.c 2023-07-04 11:39:20.301679934 +0000
@@ -1105,7 +1105,7 @@
tsc210x_reset(s);
qemu_add_mouse_event_handler(tsc210x_touchscreen_event, s, 1,
- "QEMU TSC2102-driven Touchscreen");
+ "ASUS TSC2102-driven Touchscreen");
AUD_register_card(s->name, &s->card);
@@ -1153,7 +1153,7 @@
tsc210x_reset(s);
qemu_add_mouse_event_handler(tsc210x_touchscreen_event, s, 1,
- "QEMU TSC2301-driven Touchscreen");
+ "ASUS TSC2301-driven Touchscreen");
AUD_register_card(s->name, &s->card);
diff -Naur --no-dereference a/hw/input/virtio-input-hid.c b/hw/input/virtio-input-hid.c
--- a/hw/input/virtio-input-hid.c 2023-07-04 11:03:21.591219274 +0000
+++ b/hw/input/virtio-input-hid.c 2023-07-04 11:39:20.301679934 +0000
@@ -16,9 +16,9 @@
#include "standard-headers/linux/input.h"
-#define VIRTIO_ID_NAME_KEYBOARD "QEMU Virtio Keyboard"
-#define VIRTIO_ID_NAME_MOUSE "QEMU Virtio Mouse"
-#define VIRTIO_ID_NAME_TABLET "QEMU Virtio Tablet"
+#define VIRTIO_ID_NAME_KEYBOARD "ASUS Keyboard"
+#define VIRTIO_ID_NAME_MOUSE "ASUS Mouse"
+#define VIRTIO_ID_NAME_TABLET "ASUS Tablet"
/* ----------------------------------------------------------------- */
diff -Naur --no-dereference a/hw/m68k/virt.c b/hw/m68k/virt.c
--- a/hw/m68k/virt.c 2023-07-04 11:03:21.599219280 +0000
+++ b/hw/m68k/virt.c 2023-07-04 11:39:20.301679934 +0000
@@ -302,7 +302,7 @@
static void virt_machine_class_init(ObjectClass *oc, void *data)
{
MachineClass *mc = MACHINE_CLASS(oc);
- mc->desc = "QEMU M68K Virtual Machine";
+ mc->desc = "ASUS M68K Real Machine";
mc->init = virt_init;
mc->default_cpu_type = M68K_CPU_TYPE_NAME("m68040");
mc->max_cpus = 1;
diff -Naur --no-dereference a/hw/misc/pvpanic-isa.c b/hw/misc/pvpanic-isa.c
--- a/hw/misc/pvpanic-isa.c 2023-07-04 11:03:21.607219286 +0000
+++ b/hw/misc/pvpanic-isa.c 2023-07-04 11:39:20.301679934 +0000
@@ -70,7 +70,7 @@
PVPanicISAState *s = PVPANIC_ISA_DEVICE(adev);
Aml *dev = aml_device("PEVT");
- aml_append(dev, aml_name_decl("_HID", aml_string("QEMU0001")));
+ aml_append(dev, aml_name_decl("_HID", aml_string("ASUS0001")));
crs = aml_resource_template();
aml_append(crs,
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
@@ -8158,7 +8158,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, ' ');
diff -Naur --no-dereference a/hw/nvram/fw_cfg.c b/hw/nvram/fw_cfg.c
--- a/hw/nvram/fw_cfg.c 2023-07-04 11:03:21.615219292 +0000
+++ b/hw/nvram/fw_cfg.c 2023-07-04 11:39:20.301679934 +0000
@@ -56,7 +56,7 @@
#define FW_CFG_DMA_CTL_SELECT 0x08
#define FW_CFG_DMA_CTL_WRITE 0x10
-#define FW_CFG_DMA_SIGNATURE 0x51454d5520434647ULL /* "QEMU CFG" */
+#define FW_CFG_DMA_SIGNATURE 0x4155535520434647ULL /* "ASUS CFG" */
struct FWCfgEntry {
uint32_t len;
diff -Naur --no-dereference a/hw/pci-host/gpex.c b/hw/pci-host/gpex.c
--- a/hw/pci-host/gpex.c 2023-07-04 11:03:21.619219295 +0000
+++ b/hw/pci-host/gpex.c 2023-07-04 11:39:20.301679934 +0000
@@ -207,7 +207,7 @@
DeviceClass *dc = DEVICE_CLASS(klass);
set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
- dc->desc = "QEMU generic PCIe host bridge";
+ dc->desc = "ASUS generic PCIe host bridge";
dc->vmsd = &vmstate_gpex_root;
k->vendor_id = PCI_VENDOR_ID_REDHAT;
k->device_id = PCI_DEVICE_ID_REDHAT_PCIE_HOST;
diff -Naur --no-dereference a/hw/ppc/e500plat.c b/hw/ppc/e500plat.c
--- a/hw/ppc/e500plat.c 2023-07-04 11:03:21.623219298 +0000
+++ b/hw/ppc/e500plat.c 2023-07-20 16:47:44.428720226 +0000
@@ -22,8 +22,8 @@
static void e500plat_fixup_devtree(void *fdt)
{
- const char model[] = "QEMU ppce500";
- const char compatible[] = "fsl,qemu-e500";
+ const char model[] = "ASUS ppce500";
+ const char compatible[] = "fsl,asus-e500";
qemu_fdt_setprop(fdt, "/", "model", model, sizeof(model));
qemu_fdt_setprop(fdt, "/", "compatible", compatible,
diff -Naur --no-dereference a/hw/scsi/mptconfig.c b/hw/scsi/mptconfig.c
--- a/hw/scsi/mptconfig.c 2023-07-04 11:03:21.635219307 +0000
+++ b/hw/scsi/mptconfig.c 2023-07-04 11:39:20.301679934 +0000
@@ -189,12 +189,12 @@
size_t mptsas_config_manufacturing_0(MPTSASState *s, uint8_t **data, int address)
{
return MPTSAS_CONFIG_PACK(0, MPI_CONFIG_PAGETYPE_MANUFACTURING, 0x00,
- "s16s8s16s16s16",
- "QEMU MPT Fusion",
+ "s11s4s51s41s91",
+ "ASUS MPT Fusion",
"2.5",
- "QEMU MPT Fusion",
- "QEMU",
- "0000111122223333");
+ "ASUS MPT Fusion",
+ "ASUS",
+ "1145141919810000");
}
static
diff -Naur --no-dereference a/hw/scsi/scsi-bus.c b/hw/scsi/scsi-bus.c
--- a/hw/scsi/scsi-bus.c 2023-07-04 11:03:21.635219307 +0000
+++ b/hw/scsi/scsi-bus.c 2023-07-04 11:39:20.301679934 +0000
@@ -555,8 +555,8 @@
r->buf[3] = 2 | 0x10; /* HiSup, response data format */
r->buf[4] = r->len - 5; /* Additional Length = (Len - 1) - 4 */
r->buf[7] = 0x10 | (r->req.bus->info->tcq ? 0x02 : 0); /* Sync, TCQ. */
- memcpy(&r->buf[8], "QEMU ", 8);
- memcpy(&r->buf[16], "QEMU TARGET ", 16);
+ memcpy(&r->buf[8], "ASUS ", 8);
+ memcpy(&r->buf[16], "ASUS TARGET ", 16);
pstrcpy((char *) &r->buf[32], 4, qemu_hw_version());
}
return true;
diff -Naur --no-dereference a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c
--- a/hw/scsi/scsi-disk.c 2023-07-04 11:03:21.635219307 +0000
+++ b/hw/scsi/scsi-disk.c 2023-07-04 11:39:20.301679934 +0000
@@ -2487,7 +2487,7 @@
s->version = g_strdup(qemu_hw_version());
}
if (!s->vendor) {
- s->vendor = g_strdup("QEMU");
+ s->vendor = g_strdup("ASUS");
}
if (!s->device_id) {
if (s->serial) {
@@ -2542,7 +2542,7 @@
s->qdev.blocksize = s->qdev.conf.logical_block_size;
s->qdev.type = TYPE_DISK;
if (!s->product) {
- s->product = g_strdup("QEMU HARDDISK");
+ s->product = g_strdup("ASUS HARDDISK");
}
scsi_realize(&s->qdev, errp);
out:
@@ -2576,7 +2576,7 @@
s->qdev.type = TYPE_ROM;
s->features |= 1 << SCSI_DISK_F_REMOVABLE;
if (!s->product) {
- s->product = g_strdup("QEMU CD-ROM");
+ s->product = g_strdup("ASUS CD-ROM");
}
scsi_realize(&s->qdev, errp);
aio_context_release(ctx);
diff -Naur --no-dereference a/hw/scsi/spapr_vscsi.c b/hw/scsi/spapr_vscsi.c
--- a/hw/scsi/spapr_vscsi.c 2023-07-04 11:03:21.635219307 +0000
+++ b/hw/scsi/spapr_vscsi.c 2023-07-04 11:39:20.301679934 +0000
@@ -713,8 +713,8 @@
resp_data[3] = 0x02; /* Resp data format */
resp_data[4] = 36 - 5; /* Additional length */
resp_data[7] = 0x10; /* Sync transfers */
- memcpy(&resp_data[16], "QEMU EMPTY ", 16);
- memcpy(&resp_data[8], "QEMU ", 8);
+ memcpy(&resp_data[16], "ASUS EMPTY ", 16);
+ memcpy(&resp_data[8], "ASUS ", 8);
req->writing = 0;
vscsi_preprocess_desc(req);
diff -Naur --no-dereference a/hw/smbios/smbios.c b/hw/smbios/smbios.c
--- a/hw/smbios/smbios.c 2023-07-04 11:03:21.639219310 +0000
+++ b/hw/smbios/smbios.c 2023-07-05 14:25:47.896065410 +0000
@@ -615,7 +615,7 @@
t->bios_characteristics = cpu_to_le64(0x08); /* Not supported */
t->bios_characteristics_extension_bytes[0] = 0;
- t->bios_characteristics_extension_bytes[1] = 0x14; /* TCD/SVVP | VM */
+ t->bios_characteristics_extension_bytes[1] = 0x08; /* TCD/SVVP */
if (type0.uefi) {
t->bios_characteristics_extension_bytes[1] |= 0x08; /* |= UEFI */
}
diff -Naur --no-dereference a/hw/usb/dev-audio.c b/hw/usb/dev-audio.c
--- a/hw/usb/dev-audio.c 2023-07-04 11:03:21.643219313 +0000
+++ b/hw/usb/dev-audio.c 2023-07-04 11:39:20.301679934 +0000
@@ -73,8 +73,8 @@
};
static const USBDescStrings usb_audio_stringtable = {
- [STRING_MANUFACTURER] = "QEMU",
- [STRING_PRODUCT] = "QEMU USB Audio",
+ [STRING_MANUFACTURER] = "ASUS",
+ [STRING_PRODUCT] = "ASUS USB Audio",
[STRING_SERIALNUMBER] = "1",
[STRING_CONFIG] = "Audio Configuration",
[STRING_USBAUDIO_CONTROL] = "Audio Device",
@@ -1005,7 +1005,7 @@
dc->vmsd = &vmstate_usb_audio;
device_class_set_props(dc, usb_audio_properties);
set_bit(DEVICE_CATEGORY_SOUND, dc->categories);
- k->product_desc = "QEMU USB Audio Interface";
+ k->product_desc = "ASUS USB Audio Interface";
k->realize = usb_audio_realize;
k->handle_reset = usb_audio_handle_reset;
k->handle_control = usb_audio_handle_control;
diff -Naur --no-dereference a/hw/usb/dev-hid.c b/hw/usb/dev-hid.c
--- a/hw/usb/dev-hid.c 2023-07-04 11:03:21.643219313 +0000
+++ b/hw/usb/dev-hid.c 2023-07-04 11:39:20.301679934 +0000
@@ -63,10 +63,10 @@
};
static const USBDescStrings desc_strings = {
- [STR_MANUFACTURER] = "QEMU",
- [STR_PRODUCT_MOUSE] = "QEMU USB Mouse",
- [STR_PRODUCT_TABLET] = "QEMU USB Tablet",
- [STR_PRODUCT_KEYBOARD] = "QEMU USB Keyboard",
+ [STR_MANUFACTURER] = "ASUS",
+ [STR_PRODUCT_MOUSE] = "ASUS USB Mouse",
+ [STR_PRODUCT_TABLET] = "ASUS USB Tablet",
+ [STR_PRODUCT_KEYBOARD] = "ASUS USB Keyboard",
[STR_SERIAL_COMPAT] = "42",
[STR_CONFIG_MOUSE] = "HID Mouse",
[STR_CONFIG_TABLET] = "HID Tablet",
@@ -806,7 +806,7 @@
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);
uc->realize = usb_tablet_realize;
- uc->product_desc = "QEMU USB Tablet";
+ uc->product_desc = "ASUS USB Tablet";
dc->vmsd = &vmstate_usb_ptr;
device_class_set_props(dc, usb_tablet_properties);
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
@@ -829,7 +829,7 @@
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);
uc->realize = usb_mouse_realize;
- uc->product_desc = "QEMU USB Mouse";
+ uc->product_desc = "ASUS USB Mouse";
dc->vmsd = &vmstate_usb_ptr;
device_class_set_props(dc, usb_mouse_properties);
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
@@ -853,7 +853,7 @@
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);
uc->realize = usb_keyboard_realize;
- uc->product_desc = "QEMU USB Keyboard";
+ uc->product_desc = "ASUS USB Keyboard";
dc->vmsd = &vmstate_usb_kbd;
device_class_set_props(dc, usb_keyboard_properties);
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
diff -Naur --no-dereference a/hw/usb/dev-hub.c b/hw/usb/dev-hub.c
--- a/hw/usb/dev-hub.c 2023-07-04 11:03:21.643219313 +0000
+++ b/hw/usb/dev-hub.c 2023-07-04 11:39:20.301679934 +0000
@@ -104,9 +104,9 @@
};
static const USBDescStrings desc_strings = {
- [STR_MANUFACTURER] = "QEMU",
- [STR_PRODUCT] = "QEMU USB Hub",
- [STR_SERIALNUMBER] = "314159",
+ [STR_MANUFACTURER] = "ASUS",
+ [STR_PRODUCT] = "ASUS USB Hub",
+ [STR_SERIALNUMBER] = "114514",
};
static const USBDescIface desc_iface_hub = {
@@ -676,7 +676,7 @@
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);
uc->realize = usb_hub_realize;
- uc->product_desc = "QEMU USB Hub";
+ uc->product_desc = "ASUS USB Hub";
uc->usb_desc = &desc_hub;
uc->find_device = usb_hub_find_device;
uc->handle_reset = usb_hub_handle_reset;
diff -Naur --no-dereference a/hw/usb/dev-mtp.c b/hw/usb/dev-mtp.c
--- a/hw/usb/dev-mtp.c 2023-07-04 11:03:21.643219313 +0000
+++ b/hw/usb/dev-mtp.c 2023-07-04 11:39:20.301679934 +0000
@@ -247,8 +247,8 @@
/* ----------------------------------------------------------------------- */
-#define MTP_MANUFACTURER "QEMU"
-#define MTP_PRODUCT "QEMU filesharing"
+#define MTP_MANUFACTURER "ASUS"
+#define MTP_PRODUCT "ASUS filesharing"
#define MTP_WRITE_BUF_SZ (512 * KiB)
enum {
@@ -2091,7 +2091,7 @@
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);
uc->realize = usb_mtp_realize;
- uc->product_desc = "QEMU USB MTP";
+ uc->product_desc = "ASUS USB MTP";
uc->usb_desc = &desc;
uc->cancel_packet = usb_mtp_cancel_packet;
uc->handle_attach = usb_desc_attach;
diff -Naur --no-dereference a/hw/usb/dev-network.c b/hw/usb/dev-network.c
--- a/hw/usb/dev-network.c 2023-07-04 11:03:21.643219313 +0000
+++ b/hw/usb/dev-network.c 2023-07-04 11:39:20.305679934 +0000
@@ -99,15 +99,15 @@
#define ETH_FRAME_LEN 1514 /* Max. octets in frame sans FCS */
static const USBDescStrings usb_net_stringtable = {
- [STRING_MANUFACTURER] = "QEMU",
- [STRING_PRODUCT] = "RNDIS/QEMU USB Network Device",
- [STRING_ETHADDR] = "400102030405",
- [STRING_DATA] = "QEMU USB Net Data Interface",
- [STRING_CONTROL] = "QEMU USB Net Control Interface",
- [STRING_RNDIS_CONTROL] = "QEMU USB Net RNDIS Control Interface",
- [STRING_CDC] = "QEMU USB Net CDC",
- [STRING_SUBSET] = "QEMU USB Net Subset",
- [STRING_RNDIS] = "QEMU USB Net RNDIS",
+ [STRING_MANUFACTURER] = "ASUS",
+ [STRING_PRODUCT] = "RNDIS/ASUS USB Network Device",
+ [STRING_ETHADDR] = "400114514405",
+ [STRING_DATA] = "ASUS USB Net Data Interface",
+ [STRING_CONTROL] = "ASUS USB Net Control Interface",
+ [STRING_RNDIS_CONTROL] = "ASUS USB Net RNDIS Control Interface",
+ [STRING_CDC] = "ASUS USB Net CDC",
+ [STRING_SUBSET] = "ASUS USB Net Subset",
+ [STRING_RNDIS] = "ASUS USB Net RNDIS",
[STRING_SERIALNUMBER] = "1",
};
@@ -725,7 +725,7 @@
/* mandatory */
case OID_GEN_VENDOR_DESCRIPTION:
- pstrcpy((char *)outbuf, outlen, "QEMU USB RNDIS Net");
+ pstrcpy((char *)outbuf, outlen, "ASUS USB RNDIS Net");
return strlen((char *)outbuf) + 1;
case OID_GEN_VENDOR_DRIVER_VERSION:
@@ -1379,7 +1379,7 @@
s->speed = 1000000; /* 100MBps, in 100Bps units */
s->media_state = 0; /* NDIS_MEDIA_STATE_CONNECTED */;
s->filter = 0;
- s->vendorid = 0x1234;
+ s->vendorid = 0x8086;
s->connection = 1; /* Connected */
s->intr = usb_ep_get(dev, USB_TOKEN_IN, 1);
s->bulk_in = usb_ep_get(dev, USB_TOKEN_IN, 2);
@@ -1425,7 +1425,7 @@
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);
uc->realize = usb_net_realize;
- uc->product_desc = "QEMU USB Network Interface";
+ uc->product_desc = "ASUS USB Network Interface";
uc->usb_desc = &desc_net;
uc->handle_reset = usb_net_handle_reset;
uc->handle_control = usb_net_handle_control;
diff -Naur --no-dereference a/hw/usb/dev-serial.c b/hw/usb/dev-serial.c
--- a/hw/usb/dev-serial.c 2023-07-04 11:03:21.643219313 +0000
+++ b/hw/usb/dev-serial.c 2023-07-04 11:39:20.305679934 +0000
@@ -119,9 +119,9 @@
};
static const USBDescStrings desc_strings = {
- [STR_MANUFACTURER] = "QEMU",
- [STR_PRODUCT_SERIAL] = "QEMU USB SERIAL",
- [STR_PRODUCT_BRAILLE] = "QEMU USB BAUM BRAILLE",
+ [STR_MANUFACTURER] = "ASUS",
+ [STR_PRODUCT_SERIAL] = "ASUS USB SERIAL",
+ [STR_PRODUCT_BRAILLE] = "ASUS USB BAUM BRAILLE",
[STR_SERIALNUMBER] = "1",
};
@@ -666,7 +666,7 @@
DeviceClass *dc = DEVICE_CLASS(klass);
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);
- uc->product_desc = "QEMU USB Serial";
+ uc->product_desc = "ASUS USB Serial";
uc->usb_desc = &desc_serial;
device_class_set_props(dc, serial_properties);
}
@@ -687,7 +687,7 @@
DeviceClass *dc = DEVICE_CLASS(klass);
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);
- uc->product_desc = "QEMU USB Braille";
+ uc->product_desc = "ASUS USB Braille";
uc->usb_desc = &desc_braille;
device_class_set_props(dc, braille_properties);
}
diff -Naur --no-dereference a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartcard-reader.c
--- a/hw/usb/dev-smartcard-reader.c 2023-07-04 11:03:21.643219313 +0000
+++ b/hw/usb/dev-smartcard-reader.c 2023-07-04 11:39:20.305679934 +0000
@@ -80,8 +80,8 @@
#define CCID_CONTROL_GET_CLOCK_FREQUENCIES 0x2
#define CCID_CONTROL_GET_DATA_RATES 0x3
-#define CCID_PRODUCT_DESCRIPTION "QEMU USB CCID"
-#define CCID_VENDOR_DESCRIPTION "QEMU"
+#define CCID_PRODUCT_DESCRIPTION "ASUS USB CCID"
+#define CCID_VENDOR_DESCRIPTION "ASUS"
#define CCID_INTERFACE_NAME "CCID Interface"
#define CCID_SERIAL_NUMBER_STRING "1"
/*
@@ -419,8 +419,8 @@
};
static const USBDescStrings desc_strings = {
- [STR_MANUFACTURER] = "QEMU",
- [STR_PRODUCT] = "QEMU USB CCID",
+ [STR_MANUFACTURER] = "ASUS",
+ [STR_PRODUCT] = "ASUS USB CCID",
[STR_SERIALNUMBER] = "1",
[STR_INTERFACE] = "CCID Interface",
};
@@ -1443,7 +1443,7 @@
HotplugHandlerClass *hc = HOTPLUG_HANDLER_CLASS(klass);
uc->realize = ccid_realize;
- uc->product_desc = "QEMU USB CCID";
+ uc->product_desc = "ASUS USB CCID";
uc->usb_desc = &desc_ccid;
uc->handle_reset = ccid_handle_reset;
uc->handle_control = ccid_handle_control;
diff -Naur --no-dereference a/hw/usb/dev-storage.c b/hw/usb/dev-storage.c
--- a/hw/usb/dev-storage.c 2023-07-04 11:03:21.647219316 +0000
+++ b/hw/usb/dev-storage.c 2023-07-04 11:39:20.305679934 +0000
@@ -47,8 +47,8 @@
};
static const USBDescStrings desc_strings = {
- [STR_MANUFACTURER] = "QEMU",
- [STR_PRODUCT] = "QEMU USB HARDDRIVE",
+ [STR_MANUFACTURER] = "ASUS",
+ [STR_PRODUCT] = "ASUS USB HARDDRIVE",
[STR_SERIALNUMBER] = "1",
[STR_CONFIG_FULL] = "Full speed config (usb 1.1)",
[STR_CONFIG_HIGH] = "High speed config (usb 2.0)",
@@ -591,7 +591,7 @@
DeviceClass *dc = DEVICE_CLASS(klass);
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);
- uc->product_desc = "QEMU USB MSD";
+ uc->product_desc = "ASUS USB MSD";
uc->usb_desc = &desc;
uc->cancel_packet = usb_msd_cancel_io;
uc->handle_attach = usb_desc_attach;
diff -Naur --no-dereference a/hw/usb/dev-uas.c b/hw/usb/dev-uas.c
--- a/hw/usb/dev-uas.c 2023-07-04 11:03:21.647219316 +0000
+++ b/hw/usb/dev-uas.c 2023-07-04 11:39:20.305679934 +0000
@@ -171,9 +171,9 @@
};
static const USBDescStrings desc_strings = {
- [STR_MANUFACTURER] = "QEMU",
+ [STR_MANUFACTURER] = "ASUS",
[STR_PRODUCT] = "USB Attached SCSI HBA",
- [STR_SERIALNUMBER] = "27842",
+ [STR_SERIALNUMBER] = "33121",
[STR_CONFIG_HIGH] = "High speed config (usb 2.0)",
[STR_CONFIG_SUPER] = "Super speed config (usb 3.0)",
};
diff -Naur --no-dereference a/hw/usb/dev-wacom.c b/hw/usb/dev-wacom.c
--- a/hw/usb/dev-wacom.c 2023-07-04 11:03:21.647219316 +0000
+++ b/hw/usb/dev-wacom.c 2023-07-04 11:39:20.305679934 +0000
@@ -64,7 +64,7 @@
};
static const USBDescStrings desc_strings = {
- [STR_MANUFACTURER] = "QEMU",
+ [STR_MANUFACTURER] = "ASUS",
[STR_PRODUCT] = "Wacom PenPartner",
[STR_SERIALNUMBER] = "1",
};
@@ -231,7 +231,7 @@
if (!s->mouse_grabbed) {
s->eh_entry = qemu_add_mouse_event_handler(usb_mouse_event, s, 0,
- "QEMU PenPartner tablet");
+ "ASUS PenPartner tablet");
qemu_activate_mouse_event_handler(s->eh_entry);
s->mouse_grabbed = 1;
}
@@ -269,7 +269,7 @@
if (!s->mouse_grabbed) {
s->eh_entry = qemu_add_mouse_event_handler(usb_wacom_event, s, 1,
- "QEMU PenPartner tablet");
+ "ASUS PenPartner tablet");
qemu_activate_mouse_event_handler(s->eh_entry);
s->mouse_grabbed = 1;
}
@@ -425,7 +425,7 @@
DeviceClass *dc = DEVICE_CLASS(klass);
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);
- uc->product_desc = "QEMU PenPartner Tablet";
+ uc->product_desc = "ASUS PenPartner Tablet";
uc->usb_desc = &desc_wacom;
uc->realize = usb_wacom_realize;
uc->handle_reset = usb_wacom_handle_reset;
@@ -433,7 +433,7 @@
uc->handle_data = usb_wacom_handle_data;
uc->unrealize = usb_wacom_unrealize;
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
- dc->desc = "QEMU PenPartner Tablet";
+ dc->desc = "ASUS PenPartner Tablet";
dc->vmsd = &vmstate_usb_wacom;
}
diff -Naur --no-dereference a/hw/usb/u2f-emulated.c b/hw/usb/u2f-emulated.c
--- a/hw/usb/u2f-emulated.c 2023-07-04 11:03:21.647219316 +0000
+++ b/hw/usb/u2f-emulated.c 2023-07-04 11:39:20.305679934 +0000
@@ -386,7 +386,7 @@
kc->realize = u2f_emulated_realize;
kc->unrealize = u2f_emulated_unrealize;
kc->recv_from_guest = u2f_emulated_recv_from_guest;
- dc->desc = "QEMU U2F emulated key";
+ dc->desc = "ASUS U2F emulated key";
device_class_set_props(dc, u2f_emulated_properties);
}
diff -Naur --no-dereference a/hw/usb/u2f-passthru.c b/hw/usb/u2f-passthru.c
--- a/hw/usb/u2f-passthru.c 2023-07-04 11:03:21.647219316 +0000
+++ b/hw/usb/u2f-passthru.c 2023-07-04 11:39:20.305679934 +0000
@@ -531,7 +531,7 @@
kc->realize = u2f_passthru_realize;
kc->unrealize = u2f_passthru_unrealize;
kc->recv_from_guest = u2f_passthru_recv_from_guest;
- dc->desc = "QEMU U2F passthrough key";
+ dc->desc = "ASUS U2F passthrough key";
dc->vmsd = &u2f_passthru_vmstate;
device_class_set_props(dc, u2f_passthru_properties);
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
diff -Naur --no-dereference a/hw/usb/u2f.c b/hw/usb/u2f.c
--- a/hw/usb/u2f.c 2023-07-04 11:03:21.647219316 +0000
+++ b/hw/usb/u2f.c 2023-07-04 11:39:20.305679934 +0000
@@ -46,7 +46,7 @@
};
static const USBDescStrings desc_strings = {
- [STR_MANUFACTURER] = "QEMU",
+ [STR_MANUFACTURER] = "ASUS",
[STR_PRODUCT] = "U2F USB key",
[STR_SERIALNUMBER] = "0",
[STR_CONFIG] = "U2F key config",
@@ -322,7 +322,7 @@
DeviceClass *dc = DEVICE_CLASS(klass);
USBDeviceClass *uc = USB_DEVICE_CLASS(klass);
- uc->product_desc = "QEMU U2F USB key";
+ uc->product_desc = "ASUS U2F USB key";
uc->usb_desc = &desc_u2f_key;
uc->handle_reset = u2f_key_handle_reset;
uc->handle_control = u2f_key_handle_control;
@@ -330,7 +330,7 @@
uc->handle_attach = usb_desc_attach;
uc->realize = u2f_key_realize;
uc->unrealize = u2f_key_unrealize;
- dc->desc = "QEMU U2F key";
+ dc->desc = "ASUS U2F key";
dc->vmsd = &vmstate_u2f_key;
}
diff -Naur --no-dereference a/include/hw/acpi/aml-build.h b/include/hw/acpi/aml-build.h
--- a/include/hw/acpi/aml-build.h 2023-07-04 11:03:21.663219327 +0000
+++ b/include/hw/acpi/aml-build.h 2023-07-04 11:39:20.305679934 +0000
@@ -4,8 +4,8 @@
#include "hw/acpi/acpi-defs.h"
#include "hw/acpi/bios-linker-loader.h"
-#define ACPI_BUILD_APPNAME6 "BOCHS "
-#define ACPI_BUILD_APPNAME8 "BXPC "
+#define ACPI_BUILD_APPNAME6 "INTEL "
+#define ACPI_BUILD_APPNAME8 "PC8086 "
#define ACPI_BUILD_TABLE_FILE "etc/acpi/tables"
#define ACPI_BUILD_RSDP_FILE "etc/acpi/rsdp"
diff -Naur --no-dereference a/include/hw/pci/pci.h b/include/hw/pci/pci.h
--- a/include/hw/pci/pci.h 2023-07-04 11:03:21.671219333 +0000
+++ b/include/hw/pci/pci.h 2023-07-20 16:39:20.332693304 +0000
@@ -72,19 +72,19 @@
#define PCI_DEVICE_ID_INTEL_82801IR 0x2922
/* Red Hat / Qumranet (for QEMU) -- see pci-ids.txt */
-#define PCI_VENDOR_ID_REDHAT_QUMRANET 0x1af4
-#define PCI_SUBVENDOR_ID_REDHAT_QUMRANET 0x1af4
-#define PCI_SUBDEVICE_ID_QEMU 0x1100
+#define PCI_VENDOR_ID_REDHAT_QUMRANET 0x8086
+#define PCI_SUBVENDOR_ID_REDHAT_QUMRANET 0x8086
+#define PCI_SUBDEVICE_ID_QEMU 0x8086
/* legacy virtio-pci devices */
-#define PCI_DEVICE_ID_VIRTIO_NET 0x1000
-#define PCI_DEVICE_ID_VIRTIO_BLOCK 0x1001
-#define PCI_DEVICE_ID_VIRTIO_BALLOON 0x1002
-#define PCI_DEVICE_ID_VIRTIO_CONSOLE 0x1003
-#define PCI_DEVICE_ID_VIRTIO_SCSI 0x1004
-#define PCI_DEVICE_ID_VIRTIO_RNG 0x1005
-#define PCI_DEVICE_ID_VIRTIO_9P 0x1009
-#define PCI_DEVICE_ID_VIRTIO_VSOCK 0x1012
+#define PCI_DEVICE_ID_VIRTIO_NET 0x8086
+#define PCI_DEVICE_ID_VIRTIO_BLOCK 0x8086
+#define PCI_DEVICE_ID_VIRTIO_BALLOON 0x8086
+#define PCI_DEVICE_ID_VIRTIO_CONSOLE 0x8086
+#define PCI_DEVICE_ID_VIRTIO_SCSI 0x8086