File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 279279 for possible values.</para >
280280 </listitem >
281281 </varlistentry >
282+ <varlistentry >
283+ <term ><literal >cvm</literal ></term >
284+ <listitem >
285+ <para >System's confidential virtualization technology. See
286+ <citerefentry ><refentrytitle >systemd-detect-virt</refentrytitle ><manvolnum >1</manvolnum ></citerefentry >
287+ for possible values.</para >
288+ </listitem >
289+ </varlistentry >
282290 </variablelist >
283291 <para >Unknown keys will never match.</para >
284292 </listitem >
Original file line number Diff line number Diff line change 66#include "architecture.h"
77#include "conf-files.h"
88#include "conf-parser.h"
9+ #include "confidential-virt.h"
910#include "constants.h"
1011#include "device-private.h"
1112#include "device-util.h"
@@ -1920,6 +1921,8 @@ static int udev_rule_apply_token_to_event(
19201921 val = architecture_to_string (uname_architecture ());
19211922 else if (streq (k , "virt" ))
19221923 val = virtualization_to_string (detect_virtualization ());
1924+ else if (streq (k , "cvm" ))
1925+ val = confidential_virtualization_to_string (detect_confidential_virtualization ());
19231926 else
19241927 assert_not_reached ();
19251928 return token_match_string (token , val );
You can’t perform that action at this time.
0 commit comments