/qemu/hw/sd/ |
H A D | omap_mmc.c | 78 if (!host->transfer && !host->fifo_len) { in omap_mmc_fifolevel_update() 83 if (host->fifo_len > host->af_level && host->ddir) { in omap_mmc_fifolevel_update() 94 if (host->fifo_len < host->ae_level && !host->ddir) { in omap_mmc_fifolevel_update() 232 if (host->fifo_len > host->af_level) in omap_mmc_transfer() 236 host->fifo[(host->fifo_start + host->fifo_len) & 31] = value; in omap_mmc_transfer() 239 host->fifo[(host->fifo_start + host->fifo_len) & 31] |= in omap_mmc_transfer() 249 value = host->fifo[host->fifo_start] & 0xff; in omap_mmc_transfer() 264 host->blen_counter = host->blen; in omap_mmc_transfer() 267 host->nblk_counter = host->nblk; in omap_mmc_transfer() 293 memset(host->rsp, 0, sizeof(host->rsp)); in omap_mmc_reset() [all …]
|
/qemu/target/mips/tcg/ |
H A D | lmmi_helper.c | 339 vd.uh[0 ^ host] = vs.uh[0 ^ host]; in helper_punpcklhw() 340 vd.uh[1 ^ host] = vt.uh[0 ^ host]; in helper_punpcklhw() 341 vd.uh[2 ^ host] = vs.uh[1 ^ host]; in helper_punpcklhw() 342 vd.uh[3 ^ host] = vt.uh[1 ^ host]; in helper_punpcklhw() 354 vd.uh[0 ^ host] = vs.uh[2 ^ host]; in helper_punpckhhw() 355 vd.uh[1 ^ host] = vt.uh[2 ^ host]; in helper_punpckhhw() 356 vd.uh[2 ^ host] = vs.uh[3 ^ host]; in helper_punpckhhw() 357 vd.uh[3 ^ host] = vt.uh[3 ^ host]; in helper_punpckhhw() 369 vd.ub[0 ^ host] = vs.ub[0 ^ host]; in helper_punpcklbh() 370 vd.ub[1 ^ host] = vt.ub[0 ^ host]; in helper_punpcklbh() [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 207.out | 17 === Test host-key-check options === 19 --- no host key checking -- 21 …s": {"driver": "ssh", "location": {"host-key-check": {"mode": "none"}, "path": "TEST_DIR/PID-t.img… 32 …{"driver": "ssh", "location": {"host-key-check": {"mode": "known_hosts"}, "path": "TEST_DIR/PID-t.… 43 …ssh", "location": {"host-key-check": {"hash": "wrong", "mode": "hash", "type": "md5"}, "path": "TE… 45 Job failed: remote host key fingerprint 'md5:HASH' does not match host_key_check 'md5:wrong' 49 …ssh", "location": {"host-key-check": {"hash": "HASH", "mode": "hash", "type": "md5"}, "path": "TES… 62 Job failed: remote host key fingerprint 'sha1:HASH' does not match host_key_check 'sha1:wrong' 79 Job failed: remote host key fingerprint 'sha256:HASH' does not match host_key_check 'sha256:wrong' 94 …driver": "ssh", "location": {"host-key-check": {"mode": "none"}, "path": "/this/is/not/an/existing… [all …]
|
H A D | 162.out | 4 qemu-img: Could not open 'json:{"driver": "nbd", "host": -1}': address resolution failed for -1:108… 9 qemu-img: Could not open 'json:{"driver": "ssh", "host": "localhost", "port": "0", "path": "/foo"}'… 10 qemu-img: Could not open 'driver=ssh,host=localhost,port=0,path=/foo': Failed to connect to 'localh… 11 qemu-img: Could not open 'json:{"driver": "ssh", "host": "localhost", "port": 0.42, "path": "/foo"}… 12 qemu-img: Could not open 'driver=ssh,host=localhost,port=0.42,path=/foo': Parameter 'port' expects …
|
H A D | 087.out | 10 …croseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} 21 …croseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} 31 …croseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} 43 …croseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} 55 …croseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} 66 …croseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
|
H A D | 233 | 78 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \ 103 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \ 106 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \ 115 driver=nbd,host=localhost,port=$nbd_tcp_port,tls-creds=tls0 \ 124 driver=nbd,host=localhost,port=$nbd_tcp_port,tls-creds=tls0,tls-hostname=127.0.0.1 \ 133 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \ 143 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \ 164 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \ 169 driver=nbd,host=$nbd_tcp_addr,port=$nbd_tcp_port,tls-creds=tls0 \
|
/qemu/util/ |
H A D | vfio-helpers.c | 39 void *host; member 484 if (host) { in qemu_vfio_ram_block_removed() 560 if (mid->host > host) { in qemu_vfio_find_mapping() 562 } else if (mid->host < host) { in qemu_vfio_find_mapping() 568 if (mid->host > host) { in qemu_vfio_find_mapping() 571 && (mid + 1)->host <= host) { in qemu_vfio_find_mapping() 576 mid->host <= host && mid->host + mid->size > host) { in qemu_vfio_find_mapping() 593 IOVAMapping m = {.host = host, .size = size, .iova = iova}; in qemu_vfio_add_mapping() 666 if (!(s->mappings[i].host < s->mappings[i + 1].host)) { in qemu_vfio_verify_mappings() 763 iova0 = mapping->iova + ((uint8_t *)host - (uint8_t *)mapping->host); in qemu_vfio_dma_map() [all …]
|
H A D | trace-events | 86 qemu_vfio_ram_block_added(void *s, void *p, size_t size) "s %p host %p size 0x%zx" 87 qemu_vfio_ram_block_removed(void *s, void *p, size_t size) "s %p host %p size 0x%zx" 88 qemu_vfio_dump_mapping(void *host, uint64_t iova, size_t size) "vfio mapping %p to iova 0x%08" PRIx… 89 qemu_vfio_find_mapping(void *s, void *p) "s %p host %p" 90 qemu_vfio_new_mapping(void *s, void *host, size_t size, int index, uint64_t iova) "s %p host %p siz… 91 qemu_vfio_do_mapping(void *s, void *host, uint64_t iova, size_t size) "s %p host %p <-> iova 0x%"PR… 92 qemu_vfio_dma_map(void *s, void *host, size_t size, bool temporary, uint64_t *iova) "s %p host %p s… 93 qemu_vfio_dma_mapped(void *s, void *host, uint64_t iova, size_t size) "s %p host %p <-> iova 0x%"PR… 94 qemu_vfio_dma_unmap(void *s, void *host) "s %p host %p" 98 …s, uint64_t region_size, int ofs, void *host) "map region bar#%d addr 0x%"PRIx64" size 0x%"PRIx64"…
|
/qemu/target/ppc/ |
H A D | mem_helper.c | 90 if (likely(host)) { in helper_lmw() 94 host += 4; in helper_lmw() 112 if (likely(host)) { in helper_stmw() 116 host += 4; in helper_stmw() 131 void *host; in do_lsw() local 141 if (likely(host)) { in do_lsw() 146 host += 4; in do_lsw() 158 val = (lduw_be_p(host) << 16) | (ldub_p(host + 2) << 8); in do_lsw() 220 void *host; in helper_stsw() local 230 if (likely(host)) { in helper_stsw() [all …]
|
/qemu/ |
H A D | Makefile | 42 ifneq ($(wildcard config-host.mak),) 43 include config-host.mak 46 Makefile.prereqs: config-host.mak 53 ifneq ($(wildcard $(SRC_PATH)/config-host.mak),) 62 .PHONY: config-host.mak 66 .PHONY: config-host.mak 72 .PHONY: config-host.mak 76 .PHONY: config-host.mak 81 config-host.mak: $(SRC_PATH)/configure $(SRC_PATH)/scripts/meson-buildoptions.sh $(SRC_PATH)/VERSION 82 @echo config-host.mak is out-of-date, running configure [all …]
|
/qemu/docs/ |
H A D | pci_expander_bridge.txt | 6 PXB is a "light-weight" host bridge in the same PCI domain 7 as the main host bridge whose purpose is to enable 8 the main host bridge to support multiple PCI root buses. 14 (different from the main host bridge) allowing the guest OS 24 -object memory-backend-ram,size=1024M,policy=bind,host-nodes=0,id=ram-node0 -numa node,nodeid=0,cpu… 31 …t, 0 and 1. (both mapped to the same NUMA node in host, but you can and should put it in different… 32 - a pxb host bridge attached to NUMA 1 with an e1000 behind it 33 - a pxb host bridge attached to NUMA 0 with an e1000 behind it 34 - a pxb host bridge not attached to any NUMA with a hard drive behind it. 46 The host bridge allows to register and query the PXB's PCI root bus in QEMU. [all …]
|
H A D | bypass-iommu.txt | 13 PCI host bridges have a bypass_iommu property. This property is used to 14 determine whether the devices attached on the PCI host bridge will bypass 17 bypass vIOMMU. When bypass_iommu property is not set for a host bridge, 22 The bypass iommu feature support PXB host bridge and default main host 32 (2) Arm default host bridge 46 - a default host bridge which bypass SMMUv3 47 - a pxb host bridge which go through SMMUv3 48 - a pxb host bridge which bypass SMMUv3 60 - a default host bridge which bypass iommu 61 - a pxb host bridge which go through iommu [all …]
|
H A D | colo-proxy.txt | 167 -chardev socket,id=mirror0,host=3.3.3.3,port=9003,server=on,wait=off 168 -chardev socket,id=compare1,host=3.3.3.3,port=9004,server=on,wait=off 170 -chardev socket,id=compare0-0,host=3.3.3.3,port=9001 172 -chardev socket,id=compare_out0,host=3.3.3.3,port=9005 182 -chardev socket,id=red0,host=3.3.3.3,port=9003 183 -chardev socket,id=red1,host=3.3.3.3,port=9004 193 -chardev socket,id=mirror0,host=3.3.3.3,port=9003,server=on,wait=off 196 -chardev socket,id=compare0-0,host=3.3.3.3,port=9001 198 -chardev socket,id=compare_out0,host=3.3.3.3,port=9005 207 -chardev socket,id=red0,host=3.3.3.3,port=9003 [all …]
|
/qemu/include/exec/ |
H A D | ramlist.h | 68 void (*ram_block_added)(RAMBlockNotifier *n, void *host, size_t size, 70 void (*ram_block_removed)(RAMBlockNotifier *n, void *host, size_t size, 72 void (*ram_block_resized)(RAMBlockNotifier *n, void *host, size_t old_size, 79 void ram_block_notify_add(void *host, size_t size, size_t max_size); 80 void ram_block_notify_remove(void *host, size_t size, size_t max_size); 81 void ram_block_notify_resize(void *host, size_t old_size, size_t new_size);
|
/qemu/docs/system/s390x/ |
H A D | vfio-ccw.rst | 6 host will not interact with those subchannels/devices any more. 14 Step 1: configure the host device 19 [root@host ~]# uuidgen 23 the host device. 30 [root@host ~]# driverctl -b css set-override 0.0.0313 vfio_ccw 31 [root@host ~]# mdevctl define -u 7e270a25-e163-4922-af60-757fc8ed48c6 \ 39 [root@host ~]# lscss | grep 0.0.2b09 | awk '{print $2}' 45 [root@host ~]# echo 0.0.0313 > /sys/bus/css/devices/0.0.0313/driver/unbind 46 [root@host ~]# echo 0.0.0313 > /sys/bus/css/drivers/vfio_ccw/bind 50 [root@host ~]# echo "7e270a25-e163-4922-af60-757fc8ed48c6" > \
|
/qemu/docs/system/ |
H A D | cpu-models-x86.rst.inc | 70 mixture of host CPU models between machines, if live migration 185 guest. Instead, the host kernel uses it to populate the MDS 196 ``/proc/cpuinfo`` in the host or guest. 218 up in the Linux ``/proc/cpuinfo`` in the host or guest. 296 doesn't exist in the physical host CPUs. 383 |qemu_system| -cpu host 389 |qemu_system| -cpu host,vmx=off,... 408 <cpu mode='host-passthrough'/> 412 <cpu mode='host-passthrough'> 419 <cpu mode='host-model'/> [all …]
|
/qemu/docs/system/devices/ |
H A D | can.rst | 6 can be connected to host system CAN API (at this time only Linux 43 Add "can-host-socketcan" object to connect device to host system CAN bus:: 45 -object can-host-socketcan,id=canhost0,if=can0,canbus=canbus0 64 The tested setup was Linux 4.9 kernel on the host and guest side. 86 -device kvaser_pci,canbus=canbus0,host=can0 \ 88 The CAN interface of the host system has to be configured for proper 96 Virtual (host local only) can interface can be used on the host 101 The CAN interface on the host side can be used to analyze CAN 109 delivered even to the host systems when SocketCAN interface is found 116 Example how to connect the canbus0-bus (virtual wire) to the host [all …]
|
H A D | usb.rst | 5 plug virtual USB devices or real host USB devices (only works with 160 ``usb-host,hostbus=bus,hostaddr=addr`` 163 ``usb-host,vendorid=vendor,productid=product`` 176 host character device id. 265 Using host USB devices on a Linux host 318 ``usb-host`` properties for specifying the host device argument 323 the only way to specify the host device. ``usb-host`` supports 341 the guest when it shows up somewhere in the host. 353 same physical port on the host may show up on different host buses 367 ``usb-host`` properties for reset behavior argument [all …]
|
H A D | usb-u2f.rst | 12 QEMU supports both pass-through of a host U2F key device to a VM, 19 U2F key on your host to a guest VM. All requests made from the guest 21 host machine and vice versa. 25 simple host device assignment pass-through. 27 You can specify the host U2F key to use with the ``hidraw`` 28 option, which takes the host path to a Linux ``/dev/hidrawN`` device: 34 autoscan to take the first U2F device it finds on the host (this 59 Assuming that you have a working libu2f-emu installed on the host, 73 You can pass the device the path of a setup directory on the host
|
H A D | net.rst | 7 target) and can connect them to a network backend on the host or an 8 emulated hub. The various host network backends can either be used to 12 socket host network backend). 18 virtual network device on your host (called ``tapN``), and you can then 21 Linux host 27 be executed as root. You must verify that your host kernel supports the 33 Windows host 69 host admin has to set the ping_group_range in order to grant access to 77 connections can be redirected from the host to the guest. It allows for 86 (TAP devices). You can connect guest NICs or host network backends to
|
/qemu/accel/tcg/ |
H A D | ldst_atomicity.c.inc | 104 * @pv: host address 116 * @pv: host address 128 * @pv: host address 144 * @pv: host address 178 * @pv: host address 220 * @pv: host address 243 * @pv: host address 291 * @p: host address 392 * @p: host address 434 * @p: host address [all …]
|
/qemu/tcg/tci/ |
H A D | README | 10 can be run on a host. 13 s390, sparc, x86_64). For others, unofficial host support was written. 17 support (almost) any host. 23 Like each TCG host frontend, TCI implements the code generator in 70 host and target with same or different endianness. 72 | host (le) host (be) 103 * TCI is not widely tested. It was written and tested on a x86_64 host 105 A cross compiled QEMU for i386 host also works with the same basic tests. 106 A cross compiled QEMU for mipsel host works, too. It is terribly slow 109 A cross compiled QEMU for arm host works (tested with pc bios). [all …]
|
/qemu/tests/qtest/libqos/ |
H A D | ppc64_pseries-machine.c | 44 QSPAPR_pci_host *host = obj; in QSPAPR_host_get_device() local 46 return &host->pci.obj; in QSPAPR_host_get_device() 52 static void qos_create_QSPAPR_host(QSPAPR_pci_host *host, in qos_create_QSPAPR_host() argument 56 host->obj.get_device = QSPAPR_host_get_device; in qos_create_QSPAPR_host() 57 qpci_init_spapr(&host->pci, qts, alloc); in qos_create_QSPAPR_host()
|
H A D | x86_64_pc-machine.c | 45 i440FX_pcihost *host = obj; in i440FX_host_get_device() local 47 return &host->pci.obj; in i440FX_host_get_device() 53 static void qos_create_i440FX_host(i440FX_pcihost *host, in qos_create_i440FX_host() argument 57 host->obj.get_device = i440FX_host_get_device; in qos_create_i440FX_host() 58 qpci_init_pc(&host->pci, qts, alloc); in qos_create_i440FX_host()
|
/qemu/block/ |
H A D | block-ram-registrar.c | 12 static void ram_block_added(RAMBlockNotifier *n, void *host, size_t size, in ram_block_added() argument 22 if (!blk_register_buf(r->blk, host, max_size, &err)) { in ram_block_added() 29 static void ram_block_removed(RAMBlockNotifier *n, void *host, size_t size, in ram_block_removed() argument 33 blk_unregister_buf(r->blk, host, max_size); in ram_block_removed()
|