HEX
Server: Apache/2.4.6 () OpenSSL/1.0.2k-fips PHP/8.3.8
System: Linux gateway.rmc-logistics.net 4.1.12-124.48.6.el7uek.x86_64 #2 SMP Tue Mar 16 14:57:50 PDT 2021 x86_64
User: apache (48)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //lib64/python2.7/site-packages/libvirt_qemu.pyc
�
!��[c@s�ddlZyddlZWnsek
r�ej�dZyddlZWq�ek
r�ej�dZee�jd�r�e�q�q�XnXddl	Z	d�Z
d�Zd�ZdZ
dZdZdZdZd	Zd
Zd	ZdZdS(i����NisNo module namedcCs=tj|j|||�}|dkr9tjd��n|S(s%Send a Guest Agent command to domain s"virDomainQemuAgentCommand() failedN(tlibvirtmod_qemutvirDomainQemuAgentCommandt_otNonetlibvirttlibvirtError(tdomaintcmdttimeouttflagstret((s2/usr/lib64/python2.7/site-packages/libvirt_qemu.pytqemuAgentCommand%scCsOtj|j||�}|dkr6tjd��ntj|d|�}|S(sThis API is QEMU specific, so it will only work with hypervisor
    connections to the QEMU driver.
    
    This API will attach to an externally launched QEMU process
    identified by @pid. There are several requirements to successfully
    attach to an external QEMU process:
    
      - It must have been started with a monitor socket using the UNIX
        domain socket protocol.
      - No device hotplug/unplug, or other configuration changes can
        have been made via the monitor since it started.
      - The '-name' and '-uuid' arguments should have been set (not
        mandatory, but strongly recommended)
    
    To date, the only platforms we know of where pid_t is larger than
    unsigned int (64-bit Windows) also lack UNIX sockets, so the choice
    of @pid_value as an unsigned int should not present any difficulties.
    
    If successful, then the guest will appear in the list of running
    domains for this connection, and other APIs should operate
    normally (provided the above requirements were honored). svirDomainQemuAttach() failedt_objN(RtvirDomainQemuAttachRRRRt	virDomain(tconnt	pid_valueR	R
t__tmp((s2/usr/lib64/python2.7/site-packages/libvirt_qemu.pyt
qemuAttach+s
cCs:tj|j||�}|dkr6tjd��n|S(sASend an arbitrary monitor command through qemu monitor of domain s$virDomainQemuMonitorCommand() failedN(RtvirDomainQemuMonitorCommandRRRR(RRR	R
((s2/usr/lib64/python2.7/site-packages/libvirt_qemu.pytqemuMonitorCommandFsii����ii<(tsysRtImportErrortexc_infotlib_etcygvirtmod_qemutcyg_etstrtcountRRRRt4VIR_CONNECT_DOMAIN_QEMU_MONITOR_EVENT_REGISTER_REGEXt5VIR_CONNECT_DOMAIN_QEMU_MONITOR_EVENT_REGISTER_NOCASEt#VIR_DOMAIN_QEMU_AGENT_COMMAND_BLOCKt!VIR_DOMAIN_QEMU_AGENT_COMMAND_MINt%VIR_DOMAIN_QEMU_AGENT_COMMAND_DEFAULTt$VIR_DOMAIN_QEMU_AGENT_COMMAND_NOWAITt&VIR_DOMAIN_QEMU_AGENT_COMMAND_SHUTDOWNt'VIR_DOMAIN_QEMU_MONITOR_COMMAND_DEFAULTt#VIR_DOMAIN_QEMU_MONITOR_COMMAND_HMP(((s2/usr/lib64/python2.7/site-packages/libvirt_qemu.pyt<module>s.