summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/118/all/1535
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/zero-shot/118/all/1535')
-rw-r--r--results/classifier/zero-shot/118/all/1535121
1 files changed, 121 insertions, 0 deletions
diff --git a/results/classifier/zero-shot/118/all/1535 b/results/classifier/zero-shot/118/all/1535
new file mode 100644
index 000000000..44fb37894
--- /dev/null
+++ b/results/classifier/zero-shot/118/all/1535
@@ -0,0 +1,121 @@
+graphic: 0.947
+semantic: 0.940
+user-level: 0.932
+VMM: 0.932
+virtual: 0.930
+permissions: 0.928
+peripherals: 0.925
+hypervisor: 0.924
+KVM: 0.924
+debug: 0.922
+TCG: 0.921
+performance: 0.918
+device: 0.917
+x86: 0.907
+arm: 0.902
+vnc: 0.894
+risc-v: 0.890
+register: 0.886
+assembly: 0.886
+architecture: 0.885
+PID: 0.882
+i386: 0.865
+mistranslation: 0.865
+socket: 0.864
+ppc: 0.861
+kernel: 0.855
+boot: 0.854
+files: 0.781
+network: 0.770
+
+spapr set host serial number visible to AIX from -M pseries,host-serial and not -uuid
+Description of problem:
+-M pseries,host-serial populates "/host-serial" which is not used in AIX and populates "/system-id" with UUID instead of serial number. Patch to write host-serial passed to -M as "/system-id" prefixed with IBM,06 visible from `uname -u` and `nmon`.
+Steps to reproduce:
+1. Set -uuid and -M pseries,host-serial
+2. Execute `uname -u` and `nmon` in guest
+Additional information:
+Patch:
+```
+diff -ru a/hw/ppc/spapr.c b/hw/ppc/spapr.c
+--- a/hw/ppc/spapr.c    2023-03-06 13:59:32.942881783 -0500
++++ b/hw/ppc/spapr.c    2023-03-06 21:37:32.504570961 -0500
+@@ -1163,7 +1163,10 @@
+     }
+
+     if (spapr->host_serial) {
+-        _FDT(fdt_setprop_string(fdt, 0, "host-serial", spapr->host_serial));
++        /* plus 1 byte for null character */
++        char result[sizeof("IBM,06") + sizeof(spapr->host_serial) + 1];
++        snprintf(result, sizeof(result), "%s%s", "IBM,06", spapr->host_serial);
++        _FDT(fdt_setprop_string(fdt, 0, "system-id", result));
+     } else if (smc->broken_host_serial_model && kvmppc_get_host_serial(&buf)) {
+         _FDT(fdt_setprop_string(fdt, 0, "host-serial", buf));
+         g_free(buf);
+```
+
+Before patch:
+```
+$ uname -u
+2d861abf-5cb7-434a-86d5-65167d85e5af
+
+$ nmon
+┌──────────────────────────────────────────────────────────────────────────────────┐
+│  ------------------------------                                                  │
+│  N    N  M    M   OOOO   N    N   For online help type: h                        │
+│  NN   N  MM  MM  O    O  NN   N   For command line option help:                  │
+│  N N  N  M MM M  O    O  N N  N      quick-hint  nmon -?                         │
+│  N  N N  M    M  O    O  N  N N    full-details  nmon -h                         │
+│  N   NN  M    M  O    O  N   NN   To start nmon the same way every time?         │
+│  N    N  M    M   OOOO   N    N    set NMON ksh variable, for example:           │
+│  ------------------------------    export NMON=cmt                               │
+│    TOPAS_NMON                                                                    │
+│                               8 - CPUs currently                                 │
+│                               8 - CPUs configured                                │
+│                            1000 - MHz CPU clock rate (press 'r' for current MHz) │
+│                 PowerPC_POWER10 - Processor                                      │
+│                          64 bit - Hardware                                       │
+│                          64 bit - Kernel                                         │
+│         0,IBM AIX - IBM POWER10 - Logical Partition                              │
+│                  7.2.5.200 TL05 - AIX Kernel Version                             │
+│                       aix-ppc64 - Hostname                                       │
+│                       aix-ppc64 - Node/WPAR Name                                 │
+│                         bf-5cb7 - Serial Number                                  │
+│                    IBM,9080-HEX - Machine Type                                   │
+│                                                                                  │
+│                                                                                  │
+└──────────────────────────────────────────────────────────────────────────────────
+```
+After patch:
+```
+$ uname -u
+IBM,0678AB123
+
+$ nmon
+┌──────────────────────────────────────────────────────────────────────────────────┐
+│  ------------------------------                                                  │
+│  N    N  M    M   OOOO   N    N   For online help type: h                        │
+│  NN   N  MM  MM  O    O  NN   N   For command line option help:                  │
+│  N N  N  M MM M  O    O  N N  N      quick-hint  nmon -?                         │
+│  N  N N  M    M  O    O  N  N N    full-details  nmon -h                         │
+│  N   NN  M    M  O    O  N   NN   To start nmon the same way every time?         │
+│  N    N  M    M   OOOO   N    N    set NMON ksh variable, for example:           │
+│  ------------------------------    export NMON=cmt                               │
+│    TOPAS_NMON                                                                    │
+│                               8 - CPUs currently                                 │
+│                               8 - CPUs configured                                │
+│                            1000 - MHz CPU clock rate (press 'r' for current MHz) │
+│                 PowerPC_POWER10 - Processor                                      │
+│                          64 bit - Hardware                                       │
+│                          64 bit - Kernel                                         │
+│         0,IBM AIX - IBM POWER10 - Logical Partition                              │
+│                  7.2.5.200 TL05 - AIX Kernel Version                             │
+│                       aix-ppc64 - Hostname                                       │
+│                       aix-ppc64 - Node/WPAR Name                                 │
+│                         78AB123 - Serial Number                                  │
+│                    IBM,9080-HEX - Machine Type                                   │
+│                                                                                  │
+│                                                                                  │
+└──────────────────────────────────────────────────────────────────────────────────
+```
+Note first 6 characters of serial number are cropped by nmon ("IBM,06")