HW42 2016-08-30 12:08:45 +02:00 committed by Marek Marczykowski-Górecki
parent 0e24d803f5
commit 32b4f9d4a4
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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: |