Feature #2571
sepia: enable virtualization
History
#1 Updated by Sage Weil over 11 years ago
- translation missing: en.field_position deleted (
1) - translation missing: en.field_position set to 11
#2 Updated by Sage Weil over 11 years ago
- Target version set to v0.49
- translation missing: en.field_position deleted (
24) - translation missing: en.field_position set to 1313
#3 Updated by Josh Durgin over 11 years ago
- Assignee set to Dan Mick
#4 Updated by Dan Mick over 11 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 70
BIOS settings changed on all plana; one reboot test shows good results. One can tell if
virtualization is enabled with:
#!/usr/bin/env python
import struct, os
os.system('modprobe msr')
f = open('/dev/cpu/0/msr')
f.seek(58)
msr = struct.unpack('q', f.read(8))[0]
msr &= 7
f.close()
print("VMX control bits: {:b}b".format(msr))
print("BIOS locked: {}".format("yes" if msr & 1 else "no"))
print("VMX enabled in SMX: {}".format("yes" if msr & 2 else "no"))
print("VMX enabled outside SMX: {}".format("yes" if msr & 4 else "no"))
#5 Updated by Dan Mick over 11 years ago
- Status changed from In Progress to Resolved