/openbmc/qemu/include/hw/ |
H A D | hotplug.h | 45 * @unplug_request: unplug request callback. 46 * Used as a means to initiate device unplug for devices that 47 * require asynchronous unplug handling. 48 * @unplug: unplug callback. 61 hotplug_fn unplug; member 94 * Calls #HotplugHandlerClass.unplug callback of @plug_handler.
|
/openbmc/qemu/tests/qtest/ |
H A D | device-plug-test.c | 2 * QEMU device plug/unplug handling 220 * We need a system that will process unplug requests during system resets in main() 224 qtest_add_func("/device-plug/pci-unplug-request", in main() 226 qtest_add_func("/device-plug/pci-unplug-json-request", in main() 230 qtest_add_func("/device-plug/ccw-unplug", in main() 235 qtest_add_func("/device-plug/spapr-cpu-unplug-request", in main() 237 qtest_add_func("/device-plug/spapr-memory-unplug-request", in main() 239 qtest_add_func("/device-plug/spapr-phb-unplug-request", in main() 244 qtest_add_func("/device-plug/q35-pci-unplug-request", in main() 246 qtest_add_func("/device-plug/q35-pci-unplug-json-request", in main()
|
H A D | virtio-net-failover.c | 673 /* the event is sent when QEMU asks the OS to unplug the card */ in test_migrate_out() 683 if (strcmp(status, "wait-unplug") == 0) { in test_migrate_out() 699 /* check we stay in wait-unplug while the card is not ejected */ in test_migrate_out() 704 g_assert_cmpstr(status, ==, "wait-unplug"); in test_migrate_out() 709 /* OS unplugs the cards, QEMU can move from wait-unplug state */ in test_migrate_out() 1188 /* the event is sent when QEMU asks the OS to unplug the card */ in test_migrate_abort_wait_unplug() 1197 /* migration has been cancelled while the unplug was in progress */ in test_migrate_abort_wait_unplug() 1206 /* OS unplugs the cards, QEMU can move from wait-unplug state */ in test_migrate_abort_wait_unplug() 1277 /* the event is sent when QEMU asks the OS to unplug the card */ in test_migrate_abort_active() 1282 /* OS unplugs the cards, QEMU can move from wait-unplug state */ in test_migrate_abort_active() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-uhci-pci.c | 161 k->exit = info->unplug ? usb_uhci_pci_exit : NULL; in uhci_pci_data_class_init() 165 if (!info->unplug) { in uhci_pci_data_class_init() 185 .unplug = true, 192 .unplug = true, 199 .unplug = false, 206 .unplug = false, 213 .unplug = false, 220 .unplug = false, 227 .unplug = false, 234 .unplug = false,
|
/openbmc/linux/arch/x86/xen/ |
H A D | platform-pci-unplug.c | 4 * platform-pci-unplug.c 24 /* store the value of xen_emul_unplug after the unplug is done */ 143 /* user explicitly requested no unplug */ in xen_unplug_emulated_devices() 150 * not support the unplug protocol (XEN_PLATFORM_ERR_MAGIC) in xen_unplug_emulated_devices() 161 "been compiled for this kernel: unplug emulated NICs.\n"); in xen_unplug_emulated_devices() 166 "been compiled for this kernel: unplug emulated disks.\n" in xen_unplug_emulated_devices() 173 /* Now unplug the emulated devices */ in xen_unplug_emulated_devices()
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | slot-unplug@.service | 2 Description=slot-unplug %i 6 ExecStart=/usr/libexec/phosphor-gpio-monitor/slot-unplug %i 7 SyslogIdentifier=slot-unplug %i
|
H A D | yosemite4-phosphor-multi-gpio-monitor.json | 156 "slot-unplug@1.service" 172 "slot-unplug@2.service" 188 "slot-unplug@3.service" 204 "slot-unplug@4.service" 220 "slot-unplug@5.service" 236 "slot-unplug@6.service" 252 "slot-unplug@7.service" 268 "slot-unplug@8.service"
|
/openbmc/qemu/hw/i386/xen/ |
H A D | xen_platform.c | 93 * Unplug device flags. 98 * bit 0: Unplug all IDE and SCSI disks. 99 * bit 1: Unplug all NICs. 100 * bit 2: Unplug IDE disks except primary master. This is overridden if 102 * bit 3: Unplug all NVMe disks. 162 * The Xen HVM unplug protocol [1] specifies a mechanism to allow guests to 163 * request unplug of 'aux' disks (which is stated to mean all IDE disks, 166 * NOTE: The semantics of what happens if unplug of all disks and 'aux' disks 170 * [1] https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=docs/misc/hvm-emulated-unplug.pandoc 272 /* Unplug devices. See comment above flag definitions */ in platform_fixed_ioport_writew() [all …]
|
/openbmc/qemu/docs/system/ |
H A D | cpu-hotplug.rst | 5 A complete example of vCPU hotplug (and hot-unplug) using QMP 117 vCPU hot-unplug 135 vCPU hot-unplug requires guest cooperation; so the ``device_del`` 137 unplug". At this point, the guest will get a System Control 140 QEMU to unplug it.
|
H A D | virtio-net-failover.rst | 33 another host QEMU will unplug the primary device via the PCIe based hotplug 64 A new migration state wait-unplug was added for this feature. If failover primary 66 It will wait until the device unplug is completed in the guest and then move into
|
/openbmc/linux/include/uapi/linux/ |
H A D | virtio_mem.h | 82 * has memory plugged. The device driver can request to unplug all memory 99 /* request to unplug memory blocks */ 101 /* request to unplug all blocks and shrink the usable size */ 130 struct virtio_mem_req_unplug unplug; member 206 * Currently used size. Changes due to plug/unplug requests, but no
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_mem.h | 82 * has memory plugged. The device driver can request to unplug all memory 101 /* request to unplug memory blocks */ 103 /* request to unplug all blocks and shrink the usable size */ 132 struct virtio_mem_req_unplug unplug; member 208 * Currently used size. Changes due to plug/unplug requests, but no
|
/openbmc/qemu/hw/s390x/ |
H A D | css-bridge.c | 25 * Invoke device-specific unplug handler, disable the subchannel 37 if (k->unplug) { in ccw_device_unplug() 38 k->unplug(hotplug_dev, dev, &err); in ccw_device_unplug() 139 hc->unplug = ccw_device_unplug; in virtual_css_bridge_class_init()
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/ |
H A D | phosphor-gpio-monitor_%.bbappend | 33 file://slot-unplug@.service \ 34 file://slot-unplug \ 59 slot-unplug@.service \ 84 install -m 0644 ${UNPACKDIR}/slot-unplug@.service ${D}${systemd_system_unitdir}/ 98 install -m 0755 ${UNPACKDIR}/slot-unplug ${D}${libexecdir}/${PN}/
|
/openbmc/qemu/hw/acpi/ |
H A D | pcihp.c | 172 * hot-unplug of bridge devices unless they were added by hotplug in acpi_pcihp_pc_no_hotplug() 175 * Don't allow hot-unplug of SR-IOV Virtual Functions, as they in acpi_pcihp_pc_no_hotplug() 206 * failover has asked the guest OS to unplug the device in acpi_pcihp_eject_slot() 214 * virtio-net failover asks to unplug the device, in acpi_pcihp_eject_slot() 356 * end of the unplug operation, the flag is set to false in in acpi_pcihp_device_unplug_request_cb() 360 /* if unplug was requested before OSPM is initialized, in acpi_pcihp_device_unplug_request_cb() 362 * hides unplug event. And than followup qmp_device_del() calls remain in acpi_pcihp_device_unplug_request_cb() 365 * repeat unplug request later when OSPM has been booted. in acpi_pcihp_device_unplug_request_cb()
|
/openbmc/qemu/docs/ |
H A D | memory-hotplug.txt | 77 RAM hot-unplug 80 In order to be able to hot unplug pc-dimm device, QEMU has to be told the ids 84 Two monitor commands are used to hot unplug memory:
|
/openbmc/linux/drivers/virtio/ |
H A D | virtio_mem.c | 29 MODULE_PARM_DESC(unplug_online, "Try to unplug online memory"); 103 /* We might first have to unplug all memory when starting up. */ 106 /* Workqueue that processes the plug/unplug requests. */ 246 /* Timer for retrying to plug/unplug memory. */ 704 * We might have freed up memory we can now unplug, retry in virtio_mem_remove_memory() 747 * We might have freed up memory we can now unplug, retry in virtio_mem_offline_and_remove_memory() 1061 * maybe we can handle pending unplug requests. in virtio_mem_memory_notifier_cb() 1438 .u.unplug.addr = cpu_to_virtio64(vm->vdev, addr), in virtio_mem_send_unplug_request() 1439 .u.unplug.nb_blocks = cpu_to_virtio16(vm->vdev, nb_vm_blocks), in virtio_mem_send_unplug_request() 1513 * Unplug selected subblocks. Updates the plugged state, but not the state [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-md-pci.c | 28 * Without a bus hotplug handler, we cannot control the plug/unplug in virtio_md_pci_pre_plug() 117 /* Unplug the memory device while it is still realized. */ in virtio_md_pci_unplug() 130 warn_report("Unexpected unplug of virtio based memory device"); in virtio_md_pci_unplug()
|
/openbmc/qemu/hw/core/ |
H A D | hotplug.c | 55 if (hdc->unplug) { in hotplug_handler_unplug() 56 hdc->unplug(plug_handler, plugged_dev, errp); in hotplug_handler_unplug()
|
/openbmc/qemu/tests/avocado/ |
H A D | hotplug_blk.py | 47 def unplug(self) -> None: member in HotPlug 69 self.unplug()
|
/openbmc/linux/Documentation/arch/s390/ |
H A D | vfio-ap-locking.rst | 72 device driver is using it to plug/unplug AP devices passed through to the KVM 86 to unplug the adapter. 89 pointer is not used to plug/unplug devices passed through to the KVM guest;
|
/openbmc/linux/drivers/hid/usbhid/ |
H A D | hid-core.c | 306 case -ESHUTDOWN: /* unplug */ in hid_irq_in() 309 case -EILSEQ: /* protocol error or unplug */ in hid_irq_in() 310 case -EPROTO: /* protocol error or unplug */ in hid_irq_in() 311 case -ETIME: /* protocol error or unplug */ in hid_irq_in() 430 int unplug = 0; in hid_irq_out() local 435 case -ESHUTDOWN: /* unplug */ in hid_irq_out() 436 unplug = 1; in hid_irq_out() 438 case -EILSEQ: /* protocol error or unplug */ in hid_irq_out() 439 case -EPROTO: /* protocol error or unplug */ in hid_irq_out() 450 if (unplug) { in hid_irq_out() [all …]
|
/openbmc/qemu/docs/specs/ |
H A D | ppc-spapr-hotplug.rst | 17 To manage hot plug/unplug of these resources, a firmware abstraction known as 193 hot plug/unplug) the pre-allocation of the resource is implied and this sensor 312 Hot plug/unplug events 329 :ref:`hot-plug-unplug-event-structure`. Note that these events are not formally 331 also described below under :ref:`hot-plug-unplug-event-structure`, and so are 347 .. _hot-plug-unplug-event-structure: 349 Hot plug/unplug event structure
|
/openbmc/linux/drivers/md/ |
H A D | raid1-10.c | 134 blk_plug_cb_fn unplug, int copies) in raid1_add_bio_to_plug() argument 148 cb = blk_check_plugged(unplug, mddev, sizeof(*plug)); in raid1_add_bio_to_plug()
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | ctl.c | 801 * tb_cfg_ack_plug() - Ack hot plug/unplug event 804 * @port: Port where the hot plug/unplug happened 805 * @unplug: Ack hot plug or unplug 807 * Call this as response for hot plug/unplug event to ack it. 810 int tb_cfg_ack_plug(struct tb_ctl *ctl, u64 route, u32 port, bool unplug) in tb_cfg_ack_plug() argument 816 .pg = unplug ? TB_CFG_ERROR_PG_HOT_UNPLUG in tb_cfg_ack_plug() 820 unplug ? "un" : "", route, port); in tb_cfg_ack_plug()
|