Re: [PATCH 2/2] security: Avoid calling virSecurityManagerCheckModel with NULL model

2020-12-03 Thread Jim Fehlig
On 12/3/20 7:01 AM, Michal Privoznik wrote: On 12/3/20 3:57 AM, Jim Fehlig wrote: Attempting to create a domain with results in virsh --connect lxc:/// create distro_nosec.xml error: Failed to create domain from distro_nosec.xml error: unsupported configuration: Security driver model '(null)'

Re: [PATCH 2/2] security: Avoid calling virSecurityManagerCheckModel with NULL model

2020-12-03 Thread Michal Privoznik
On 12/3/20 3:57 AM, Jim Fehlig wrote: Attempting to create a domain with results in virsh --connect lxc:/// create distro_nosec.xml error: Failed to create domain from distro_nosec.xml error: unsupported configuration: Security driver model '(null)' is not available With , the model field of

[PATCH 2/2] security: Avoid calling virSecurityManagerCheckModel with NULL model

2020-12-02 Thread Jim Fehlig
Attempting to create a domain with results in virsh --connect lxc:/// create distro_nosec.xml error: Failed to create domain from distro_nosec.xml error: unsupported configuration: Security driver model '(null)' is not available With , the model field of virSecurityLabelDef will be NULL,