7183N/AUse libv12n to find virtualization environment instead of asking systemd
7183N/A+AC_CHECK_LIB(v12n, v12n_get_current_env)
7183N/A IBUS_REQUIRED_VERSION=1.5.2
7183N/A@@ -740,6 +744,10 @@ static struct {
7183N/A+ { "kernel-zone", "Kernel Zone" },
7183N/A+ { "logical-domain", "Logical Domain" },
7183N/A+ { "non-global-zone", "Non-Global Zone" },
7183N/A+ { "virtualbox", "VirtualBox" },
7183N/A@@ -788,13 +796,31 @@ set_virtualization_label (CcInfoPanel *
7183N/A info_panel_setup_virt (CcInfoPanel *self)
7183N/A+ env = v12n_get_current_env ();
7183N/A+ g_debug (" v12n_get_current_env failed, bailing: %s", strerror(errno));
7183N/A+ name = v12n_get_env_prop (env, V12N_PROP_NAME);
7183N/A systemd_proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
7183N/A@@ -832,6 +858,7 @@ info_panel_setup_virt (CcInfoPanel *sel
7183N/A g_object_unref (systemd_proxy);
7183N/A set_virtualization_label (self, str);