/qemu/hw/virtio/ |
H A D | virtio-pci.c | 1506 val = proxy->guest_features[proxy->gfselect]; in virtio_pci_common_read() 1589 proxy->guest_features[proxy->gfselect] = val; in virtio_pci_common_write() 1862 memory_region_init_io(&proxy->common.mr, OBJECT(proxy), in virtio_pci_modern_regions_init() 1869 memory_region_init_io(&proxy->isr.mr, OBJECT(proxy), in virtio_pci_modern_regions_init() 1876 memory_region_init_io(&proxy->device.mr, OBJECT(proxy), in virtio_pci_modern_regions_init() 1883 memory_region_init_io(&proxy->notify.mr, OBJECT(proxy), in virtio_pci_modern_regions_init() 2104 memory_region_init_io(&proxy->bar, OBJECT(proxy), in virtio_pci_device_plugged() 2257 virtio_pci_bus_new(&proxy->bus, sizeof(proxy->bus), proxy); in virtio_pci_realize() 2289 proxy->vqs[i].desc[0] = proxy->vqs[i].desc[1] = 0; in virtio_pci_reset() 2290 proxy->vqs[i].avail[0] = proxy->vqs[i].avail[1] = 0; in virtio_pci_reset() [all …]
|
H A D | virtio-mmio.c | 77 if (!proxy->legacy) { in virtio_mmio_soft_reset() 118 if (proxy->legacy) { in virtio_mmio_read() 321 proxy->guest_features[proxy->guest_features_sel] = value; in virtio_mmio_write() 636 if (!proxy->legacy) { in virtio_mmio_reset() 637 proxy->guest_features[0] = proxy->guest_features[1] = 0; in virtio_mmio_reset() 641 proxy->vqs[i].desc[0] = proxy->vqs[i].desc[1] = 0; in virtio_mmio_reset() 642 proxy->vqs[i].avail[0] = proxy->vqs[i].avail[1] = 0; in virtio_mmio_reset() 643 proxy->vqs[i].used[0] = proxy->vqs[i].used[1] = 0; in virtio_mmio_reset() 740 if (!proxy->legacy) { in virtio_mmio_pre_plugged() 761 qbus_init(&proxy->bus, sizeof(proxy->bus), TYPE_VIRTIO_MMIO_BUS, d, NULL); in virtio_mmio_realizefn() [all …]
|
H A D | virtio-bus.c | 222 DeviceState *proxy = DEVICE(BUS(bus)->parent); in virtio_bus_start_ioeventfd() local 227 if (!k->ioeventfd_assign || !k->ioeventfd_enabled(proxy)) { in virtio_bus_start_ioeventfd() 267 DeviceState *proxy = DEVICE(BUS(bus)->parent); in virtio_bus_ioeventfd_enabled() local 269 return k->ioeventfd_assign && k->ioeventfd_enabled(proxy); in virtio_bus_ioeventfd_enabled() 280 DeviceState *proxy = DEVICE(BUS(bus)->parent); in virtio_bus_set_host_notifier() local 296 r = k->ioeventfd_assign(proxy, notifier, n, true); in virtio_bus_set_host_notifier() 302 k->ioeventfd_assign(proxy, notifier, n, false); in virtio_bus_set_host_notifier() 328 DeviceState *proxy = DEVICE(bus->parent); in virtio_bus_get_dev_path() local 329 return qdev_get_dev_path(proxy); in virtio_bus_get_dev_path()
|
H A D | virtio-scsi-pci.c | 50 DeviceState *proxy = DEVICE(vpci_dev); in virtio_scsi_pci_realize() local 67 if (proxy->id) { in virtio_scsi_pci_realize() 68 bus_name = g_strdup_printf("%s.0", proxy->id); in virtio_scsi_pci_realize()
|
H A D | virtio-serial-pci.c | 44 DeviceState *proxy = DEVICE(vpci_dev); in virtio_serial_pci_realize() local 63 if (proxy->id) { in virtio_serial_pci_realize() 64 bus_name = g_strdup_printf("%s.0", proxy->id); in virtio_serial_pci_realize()
|
/qemu/include/hw/virtio/ |
H A D | virtio-pci.h | 168 static inline bool virtio_pci_modern(VirtIOPCIProxy *proxy) in virtio_pci_modern() argument 170 return !proxy->disable_modern; in virtio_pci_modern() 173 static inline bool virtio_pci_legacy(VirtIOPCIProxy *proxy) in virtio_pci_legacy() argument 175 return proxy->disable_legacy == ON_OFF_AUTO_OFF; in virtio_pci_legacy() 178 static inline void virtio_pci_force_virtio_1(VirtIOPCIProxy *proxy) in virtio_pci_force_virtio_1() argument 180 proxy->disable_modern = false; in virtio_pci_force_virtio_1() 181 proxy->disable_legacy = ON_OFF_AUTO_ON; in virtio_pci_force_virtio_1() 184 static inline void virtio_pci_disable_modern(VirtIOPCIProxy *proxy) in virtio_pci_disable_modern() argument 186 proxy->disable_modern = true; in virtio_pci_disable_modern() 269 int virtio_pci_add_shm_cap(VirtIOPCIProxy *proxy, uint8_t bar, uint64_t offset,
|
/qemu/docs/tools/ |
H A D | virtfs-proxy-helper.rst | 1 QEMU 9p virtfs proxy filesystem helper 7 **virtfs-proxy-helper** [*OPTIONS*] 12 NOTE: The 9p 'proxy' backend is deprecated (since QEMU 8.1) and will be 25 type 'proxy' is introduced. Proxy FS uses chroot + socket combination 33 QEMU and proxy helper communicate using this socket. QEMU proxy fs 34 driver sends filesystem request to proxy helper and receives the 37 The proxy helper is designed so that it can drop root privileges except 45 .. program:: virtfs-proxy-helper 53 Path to export for proxy filesystem driver 58 qemu proxy fs drier. Usually a helper like libvirt will create [all …]
|
H A D | index.rst | 18 virtfs-proxy-helper
|
/qemu/backends/ |
H A D | dbus-vmstate.c | 105 g_autoptr(GDBusProxy) proxy = NULL; in dbus_get_proxies() 116 if (!proxy) { in dbus_get_proxies() 128 g_clear_object(&proxy); in dbus_get_proxies() 135 g_clear_object(&proxy); in dbus_get_proxies() 150 proxy = NULL; in dbus_get_proxies() 179 result = g_dbus_proxy_call_sync(proxy, "Load", in dbus_load_state_proxy() 221 GDBusProxy *proxy = NULL; in dbus_vmstate_post_load() local 247 proxy = g_hash_table_lookup(proxies, id); in dbus_vmstate_post_load() 248 if (!proxy) { in dbus_vmstate_post_load() 274 if (dbus_load_state_proxy(proxy, in dbus_vmstate_post_load() [all …]
|
/qemu/hw/9pfs/ |
H A D | 9p-proxy.c | 344 if (proxy->sockfd == -1) { in v9fs_request() 348 iovec = &proxy->out_iovec; in v9fs_request() 349 reply = &proxy->in_iovec; in v9fs_request() 630 close(proxy->sockfd); in v9fs_request() 631 proxy->sockfd = -1; in v9fs_request() 1206 g_free(proxy); in proxy_init() 1217 ctx->private = proxy; in proxy_init() 1218 proxy->sockfd = sock_id; in proxy_init() 1230 if (!proxy) { in proxy_cleanup() 1237 close(proxy->sockfd); in proxy_cleanup() [all …]
|
H A D | meson.build | 5 '9p-proxy.c',
|
/qemu/util/ |
H A D | dbus.c | 26 g_autoptr(GDBusProxy) proxy = NULL; in qemu_dbus_get_queued_owners() 31 proxy = g_dbus_proxy_new_sync(connection, G_DBUS_PROXY_FLAGS_NONE, NULL, in qemu_dbus_get_queued_owners() 36 if (!proxy) { in qemu_dbus_get_queued_owners() 41 result = g_dbus_proxy_call_sync(proxy, "ListQueuedOwners", in qemu_dbus_get_queued_owners()
|
/qemu/ui/ |
H A D | dbus-listener.c | 61 QemuDBusDisplay1Listener *proxy; member 206 ddl->proxy, res, &err); in dbus_update_gl_cb() 304 ddl->proxy, g_variant_new_handle(0), in dbus_scanout_dmabuf() 495 ddl->proxy, 0, 0, false, in dbus_cursor_dmabuf() 521 ddl->proxy, in dbus_cursor_dmabuf() 547 ddl->proxy, pos_x, pos_y, true, in dbus_gl_cursor_position() 646 qemu_dbus_display1_listener_call_update(ddl->proxy, in dbus_gfx_update_sub() 752 ddl->proxy, in dbus_cursor_define() 804 g_clear_object(&ddl->proxy); in dbus_display_listener_dispose() 1020 ddl->proxy = in dbus_display_listener_new() [all …]
|
/qemu/hw/s390x/ |
H A D | virtio-ccw-serial.c | 31 DeviceState *proxy = DEVICE(ccw_dev); in virtio_ccw_serial_realize() local 38 if (proxy->id) { in virtio_ccw_serial_realize() 39 bus_name = g_strdup_printf("%s.0", proxy->id); in virtio_ccw_serial_realize()
|
/qemu/docs/ |
H A D | colo-proxy.txt | 1 COLO-proxy 10 This document gives an overview of COLO proxy's design. 13 COLO-proxy is a part of COLO project. It is used 15 whether to do checkpoint. With COLO-proxy's help, 19 and filter-rewriter compose the COLO-proxy. 30 Below is a COLO proxy ascii figure: 214 a.COLO-proxy must work with COLO-frame and Block-replication. 215 b.Primary COLO must be started firstly, because COLO-proxy needs
|
/qemu/fsdev/ |
H A D | meson.build | 13 executable('virtfs-proxy-helper', 14 files('virtfs-proxy-helper.c', '9p-marshal.c', '9p-iov-marshal.c'),
|
H A D | virtfs-proxy-helper.c | 751 struct sockaddr_un proxy, qemu; in proxy_socket() local 760 if (strlen(path) >= sizeof(proxy.sun_path)) { in proxy_socket() 762 sizeof(proxy.sun_path)); in proxy_socket() 775 proxy.sun_family = AF_UNIX; in proxy_socket() 776 strcpy(proxy.sun_path, path); in proxy_socket() 777 if (bind(sock, (struct sockaddr *)&proxy, in proxy_socket() 782 if (chown(proxy.sun_path, uid, gid) < 0) { in proxy_socket()
|
/qemu/tests/vm/ |
H A D | netbsd | 163 proxy = os.environ.get("http_proxy") 164 if not proxy is None: 167 self.console_send("%s\n" % proxy)
|
/qemu/hw/remote/ |
H A D | meson.build | 7 remote_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('proxy.c')) 16 specific_ss.add(when: 'CONFIG_MULTIPROCESS', if_true: files('proxy-memory-listener.c'))
|
/qemu/docs/devel/ |
H A D | multi-process.rst | 197 New separation model based on proxy objects 200 A different model based on proxy objects in the QEMU program 261 represented as a *-device* of type *pci-proxy-dev*. A socket 296 QEMU device proxy objects 304 The proxy object model will use device proxy objects to replace the 332 properties and methods needed by the proxy. 371 PCI parent proxy 396 proxy (see below). 402 process proxy by sending messages to the remote process. 854 The irq descriptors are created by the proxy object [all …]
|
/qemu/docs/devel/migration/ |
H A D | virtio.rst | 17 - virtio transport (pci, ccw, ...), for the different proxy devices and 42 - save proxy device 79 - load proxy device
|
/qemu/docs/system/ |
H A D | multi-process.rst | 59 - A "x-pci-proxy-dev" device is created for each of the PCI devices emulated 66 -device x-pci-proxy-dev,id=lsi0,socket=3
|
/qemu/docs/about/ |
H A D | deprecated.rst | 306 ``-fsdev proxy`` and ``-virtfs proxy`` (since 8.1) 309 The 9p ``proxy`` filesystem backend driver has been deprecated and will be 310 removed (along with its proxy helper daemon) in a future version of QEMU. Please 314 The 9p ``proxy`` backend was originally developed as an alternative to the 9p 317 process (the virtfs-proxy-helper binary). However this alternative never gained 318 momentum. The proxy backend is much slower than the local backend, hasn't seen 324 Nowadays it would make sense to reimplement the ``proxy`` backend by using 326 which the 9p ``proxy`` backend currently suffers. However as of to date nobody
|
/qemu/ |
H A D | Kconfig.host | 1 # These are "proxy" symbols used to pass config-host.mak values
|
/qemu/python/tests/ |
H A D | minreqs.txt | 45 lazy-object-proxy==1.4.0
|