From: Eric Blake Date: Fri, 23 Dec 2011 00:47:49 +0000 (-0700) Subject: seclabel: extend XML to allow per-disk label overrides X-Git-Tag: v0.9.9-rc1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cb4acce8b136e0dd2afa647b9b8cdf7c1702aed;p=thirdparty%2Flibvirt.git seclabel: extend XML to allow per-disk label overrides When doing security relabeling, there are cases where a per-file override might be appropriate. For example, with a static label and relabeling, it might be appropriate to skip relabeling on a particular disk, where the backing file lives on NFS that lacks the ability to track labeling. Or with dynamic labeling, it might be appropriate to use a custom (non-dynamic) label for a disk specifically intended to be shared across domains. The new XML resembles the top-level , but with fewer options (basically relabel='no', or ): ... ... ... ... text This patch only introduces the XML and documentation; future patches will actually parse and make use of it. The intent is that we can further extend things as needed, adding a per-device in more places (such as the source of a console device), and possibly allowing a instead of