[libvirt] [PATCH 1/2] conf: don't iterate over backcompat console in virDomainChrDefForeach

Martin Kletzander mkletzan at redhat.com
Tue May 23 13:33:03 UTC 2017

On Mon, May 15, 2017 at 04:28:34PM +0200, Pavel Hrdina wrote:
>If the first console is just a copy of the first serial device we
>don't need to iterate over the same device twice in order to perform
>actions like security labeling, cgroup configuring, etc.
>Currently only security SELinux manager was aware of this fact.
>Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> src/conf/domain_conf.c          | 26 +++++++++++++++++++++-----
> src/security/security_selinux.c | 10 ----------
> 2 files changed, 21 insertions(+), 15 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170523/80b55c2a/attachment-0001.sig>

More information about the libvir-list mailing list