qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

hw: Fix typos found by codespell

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>

authored by

Stefan Weil and committed by
Michael Tokarev
b12227af 5bb8590d

+15 -15
+2 -2
hw/core/generic-loader.c
··· 27 27 * this it needs a backend to manage the datas, the same as other 28 28 * memory-related devices. In this case as the backend is so trivial we 29 29 * have merged it with the frontend instead of creating and maintaining a 30 - * seperate backend. 30 + * separate backend. 31 31 */ 32 32 33 33 #include "qemu/osdep.h" ··· 79 79 "loading memory values"); 80 80 return; 81 81 } else if (!s->data_len) { 82 - /* We cant' check for !data here as a value of 0 is still valid. */ 82 + /* We can't check for !data here as a value of 0 is still valid. */ 83 83 error_setg(errp, "Both data and data-len must be specified"); 84 84 return; 85 85 } else if (s->data_len > 8) {
+1 -1
hw/core/qdev-properties.c
··· 711 711 712 712 /* 713 713 * Catch "invalid" device reference from vfio-pci and allow the 714 - * default buffer representing the non-existant device to be used. 714 + * default buffer representing the non-existent device to be used. 715 715 */ 716 716 if (~addr->domain || ~addr->bus || ~addr->slot || ~addr->function) { 717 717 rc = snprintf(buffer, sizeof(buffer), "%04x:%02x:%02x.%0d",
+2 -2
hw/display/xlnx_dp.c
··· 555 555 if ((width != 0) && (height != 0)) { 556 556 /* 557 557 * As dpy_gfx_replace_surface calls qemu_free_displaysurface on the 558 - * surface we need to be carefull and don't free the surface associated 558 + * surface we need to be careful and don't free the surface associated 559 559 * to the console or double free will happen. 560 560 */ 561 561 if (s->bout_plane.surface != current_console_surface) { ··· 1160 1160 */ 1161 1161 if (!xlnx_dpdma_start_operation(s->dpdma, 3, false)) { 1162 1162 /* 1163 - * An error occured don't do anything with the data.. 1163 + * An error occurred don't do anything with the data.. 1164 1164 * Trigger an underflow interrupt. 1165 1165 */ 1166 1166 s->core_registers[DP_INT_STATUS] |= (1 << 21);
+1 -1
hw/i386/pc.c
··· 1777 1777 1778 1778 /* returns pointer to CPUArchId descriptor that matches CPU's apic_id 1779 1779 * in pcms->possible_cpus->cpus, if pcms->possible_cpus->cpus has no 1780 - * entry correponding to CPU's apic_id returns NULL. 1780 + * entry corresponding to CPU's apic_id returns NULL. 1781 1781 */ 1782 1782 static CPUArchId *pc_find_cpu_slot(PCMachineState *pcms, CPUState *cpu, 1783 1783 int *idx)
+1 -1
hw/net/cadence_gem.c
··· 896 896 897 897 DB_PRINT("config bufsize: %d packet size: %ld\n", rxbufsize, size); 898 898 899 - /* Find which queue we are targetting */ 899 + /* Find which queue we are targeting */ 900 900 q = get_queue_from_screen(s, rxbuf_ptr, rxbufsize); 901 901 902 902 while (bytes_to_copy) {
+2 -2
hw/net/spapr_llan.c
··· 105 105 uint32_t add_buf_ptr, use_buf_ptr, rx_bufs; 106 106 hwaddr rxq_ptr; 107 107 QEMUTimer *rxp_timer; 108 - uint32_t compat_flags; /* Compatability flags for migration */ 108 + uint32_t compat_flags; /* Compatibility flags for migration */ 109 109 RxBufPool *rx_pool[RX_MAX_POOLS]; /* Receive buffer descriptor pools */ 110 110 } VIOsPAPRVLANDevice; 111 111 ··· 559 559 if (pool < 0) { 560 560 /* 561 561 * No matching pool found? Try to use a new one. If the guest used all 562 - * pools before, but changed the size of one pool inbetween, we might 562 + * pools before, but changed the size of one pool in the meantime, we might 563 563 * need to recycle that pool here (if it's empty already). Thus scan 564 564 * all buffer pools now, starting with the last (likely empty) one. 565 565 */
+1 -1
hw/ppc/spapr_drc.c
··· 59 59 trace_spapr_drc_set_isolation_state(get_index(drc), state); 60 60 61 61 if (state == SPAPR_DR_ISOLATION_STATE_UNISOLATED) { 62 - /* cannot unisolate a non-existant resource, and, or resources 62 + /* cannot unisolate a non-existent resource, and, or resources 63 63 * which are in an 'UNUSABLE' allocation state. (PAPR 2.7, 13.5.3.5) 64 64 */ 65 65 if (!drc->dev ||
+2 -2
hw/s390x/s390-pci-bus.h
··· 183 183 * may enter an error state 184 184 * blocked: ignore all DMA and interrupts; transition back to enabled or from 185 185 * error state via mpcifc 186 - * error: an error occured; transition back to enabled via mpcifc 187 - * permanent error: an unrecoverable error occured; transition to standby via 186 + * error: an error occurred; transition back to enabled via mpcifc 187 + * permanent error: an unrecoverable error occurred; transition to standby via 188 188 * sclp deconfigure 189 189 */ 190 190 typedef enum {
+1 -1
hw/usb/dev-mtp.c
··· 1093 1093 } 1094 1094 break; 1095 1095 case PROP_PERSISTENT_UNIQUE_OBJECT_IDENTIFIER: 1096 - /* Should be persistant between sessions, 1096 + /* Should be persistent between sessions, 1097 1097 * but using our objedt ID is "good enough" 1098 1098 * for now */ 1099 1099 usb_mtp_add_u64(d, 0x0000000000000000);
+1 -1
hw/vfio/pci-quirks.c
··· 1171 1171 * IGD LPC/ISA bridge support code. The vBIOS needs this, but we can't write 1172 1172 * arbitrary values into just any bridge, so we must create our own. We try 1173 1173 * to handle if the user has created it for us, which they might want to do 1174 - * to enable multifuction so we don't occupy the whole PCI slot. 1174 + * to enable multifunction so we don't occupy the whole PCI slot. 1175 1175 */ 1176 1176 static void vfio_pci_igd_lpc_bridge_realize(PCIDevice *pdev, Error **errp) 1177 1177 {
+1 -1
hw/virtio/virtio-crypto.c
··· 786 786 vcrypto->max_queues = MAX(vcrypto->cryptodev->conf.peers.queues, 1); 787 787 if (vcrypto->max_queues + 1 > VIRTIO_QUEUE_MAX) { 788 788 error_setg(errp, "Invalid number of queues (= %" PRIu32 "), " 789 - "must be a postive integer less than %d.", 789 + "must be a positive integer less than %d.", 790 790 vcrypto->max_queues, VIRTIO_QUEUE_MAX); 791 791 return; 792 792 }