-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 see attached patch -----BEGIN PGP SIGNATURE-----
iQIsBAEBCgAWBQJXxhmtDxxodzQyQGlwc3Vtai5kZQAKCRDkrMknimRoFnuZEACn 1xxi5yO1g8VQYHzYAArRXfZ4NOLYTCLHKqlHuzZ2pUlreMARTarkiFuzz+QFv4TV 2SMpMdSSs+abDu6RAOqiN1FdyU7wz+ZlXmrL/FfMJUG27nxqrvOaZk3FM3MN9xcm vKSY8TVJOVETTuEYV1FhKOG52lFjPNYj82pcpLXFkFpJtwk7bSiCa73QjW8ZKDVY Zz8Cx89iURYvkNQ+GfSXGI5/Zlr24eSqIQ4pwkF9xraOskP4A/Lwop4l6BWD4A7k sbxcpjR/bzS+f1cKdNrYYb3s68O3kNvvxvbhqzkakGvE0IVz2FIyUXG5ukTzoZmH UIIxBA0y/OPmER7ce++FH0aemwMF7TTftCsVxNuISnR/cUR452jLWyC8Cup6wF0c PbdwEJdXZTBcak07Swx69Eq95G5IXUAQCIqzEW8JOBA1yorNO5PI+8AcGMwquCoC MQQTqWdMlYw44mmc+N4TOLlLuoBrn2PDgIpu44GUITJdnDHAuRD8NFFO1Ca+7I8p I6bZZI/mlKkOqNzgybamIsJmIMI1KKl3OTZ364VmA/IzhLM+EroS8fqKTKFzwxxZ Ylkus8vNIXxWZQDs8viteW6ZaVF9iPkSKcGf49CJJXcR3LiS4wVJ3sN2spOPSXII I2Yi8CkRi5vLlZ0a2PJFegP8dh6qiWa+RLtfYmaahg== =uPI/ -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/43a44609-fe28-38d3-d86b-8cd41438c555%40ipsumj.de. For more options, visit https://groups.google.com/d/optout.
>From df37e488815a07ae79ae47bf3f2036a90d7809a5 Mon Sep 17 00:00:00 2001 From: HW42 <[email protected]> Date: Tue, 30 Aug 2016 12:08:45 +0200 Subject: [PATCH] qubes-hcl-report: add check for HAP/SLAT bassed on https://wiki.xenproject.org/wiki/Xen_Common_Problems#How_can_I_check_if_my_CPU_supports_HAP_.28Hardware_Assisted_Paging.29_.3F --- qvm-tools/qubes-hcl-report | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/qvm-tools/qubes-hcl-report b/qvm-tools/qubes-hcl-report index 671f000..b484f66 100755 --- a/qvm-tools/qubes-hcl-report +++ b/qvm-tools/qubes-hcl-report @@ -101,6 +101,7 @@ XEN_EXTRA=`cat $TEMP_DIR/xl-info |grep xen_extra |cut -d: -f2 |tr -d ' '` QUBES=`cat $TEMP_DIR/qubes-release |cut -d '(' -f2 |cut -d ')' -f1` XL_VTX=`cat $TEMP_DIR/xl-info |grep xen_caps | grep hvm` XL_VTD=`cat $TEMP_DIR/xl-info |grep virt_caps |grep hvm_directio` +XL_HAP=`cat $TEMP_DIR/xl-dmesg |grep 'HVM: Hardware Assisted Paging (HAP) detected'` PCRS=`find /sys/devices/ -name pcrs` FILENAME="Qubes-HCL-${BRAND//[^[:alnum:]]/_}-${PRODUCT//[^[:alnum:]]/_}-$DATE" @@ -127,6 +128,12 @@ if [[ $XL_VTD ]] fi +if [ -n "$XL_HAP" ]; then + HAP="yes" +else + HAP="no" +fi + if [[ $PCRS ]] then # try tu run tcsd and: grep the logs, try get version info. @@ -152,6 +159,7 @@ echo -e "Net:\n$NET\n" echo -e "SCSI:\n$SCSI\n" echo -e "HVM:\t\t$VTX" echo -e "I/O MMU:\t$VTD" +echo -e "HAP/SLAT:\t${HAP^}" echo -e "TPM:\t\t$TPM" echo @@ -164,6 +172,8 @@ hvm: '$HVM' iommu: '$IOMMU' +slat: + '$HAP' tpm: '$TPM_s' brand: | -- 2.9.3
0001-qubes-hcl-report-add-check-for-HAP-SLAT.patch.sig
Description: PGP signature
