mirror of
				https://github.com/speed47/spectre-meltdown-checker.git
				synced 2025-10-31 20:50:55 +01:00 
			
		
		
		
	fix(kvm): properly detect PVHVM mode (fixes #163)
This commit is contained in:
		| @@ -1827,6 +1827,11 @@ check_variant3() | ||||
| 			else | ||||
| 				xen_pv_domu=1 | ||||
| 			fi | ||||
| 			# PVHVM guests also print 'Booting paravirtualized kernel', so we need this check. | ||||
| 			dmesg_grep 'Xen HVM callback vector for event delivery is enabled$'; ret=$? | ||||
| 			if [ $ret -eq 0 ]; then | ||||
| 				xen_pv_domu=0 | ||||
| 			fi | ||||
| 		fi | ||||
| 	fi | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user