File: //lib64/python3.9/site-packages/__pycache__/libvirt_lxc.cpython-39.opt-1.pyc
a
�5zi� �
@ s� zd dl Z W nf eyr Z zNzd dlZ W n4 ey\ Z zdee�v rHe�W Y dZ[n
dZ[0 0 W Y dZ[n
dZ[0 0 d dlZdd� Zdd� ZdS )� NzNo module namedc C s$ t �| j|�}|du r t�d��|S )z�This API is LXC specific, so it will only work with hypervisor
connections to the LXC driver.
Attaches the process to the control cgroups associated
with the container @domain. Nz virDomainLxcEnterCGroup() failed)�libvirtmod_lxcZvirDomainLxcEnterCGroup�_o�libvirt�libvirtError��domain�flags�ret� r
�1/usr/lib64/python3.9/site-packages/libvirt_lxc.py�lxcEnterCGroup! s
r c C s$ t �| j|�}|du r t�d��|S )aS This API is LXC specific, so it will only work with hypervisor
connections to the LXC driver.
Open the namespaces associated with the container @domain
and return a list of file descriptors associated with the
container.
The returned file descriptors are intended to be used with
the setns() system call. Nz"virDomainLxcOpenNamespace() failed)r ZvirDomainLxcOpenNamespacer r r r r
r
r �lxcOpenNamespace, s
r
) r �ImportErrorZlib_eZcygvirtmod_lxcZcyg_e�strr r r
r
r
r
r �<module> s 0