Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109892823
D45557.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
713 B
Referenced Files
None
Subscribers
None
D45557.diff
View Options
diff --git a/sys/arm64/include/vmm.h b/sys/arm64/include/vmm.h
--- a/sys/arm64/include/vmm.h
+++ b/sys/arm64/include/vmm.h
@@ -201,13 +201,6 @@
cpuset_t vm_debug_cpus(struct vm *vm);
cpuset_t vm_suspended_cpus(struct vm *vm);
-static __inline bool
-virt_enabled(void)
-{
-
- return (has_hyp());
-}
-
static __inline int
vcpu_rendezvous_pending(struct vm_eventinfo *info)
{
diff --git a/sys/arm64/vmm/vmm_arm64.c b/sys/arm64/vmm/vmm_arm64.c
--- a/sys/arm64/vmm/vmm_arm64.c
+++ b/sys/arm64/vmm/vmm_arm64.c
@@ -239,7 +239,7 @@
int cpu, i;
bool rv __diagused;
- if (!virt_enabled()) {
+ if (!has_hyp()) {
printf(
"vmm: Processor doesn't have support for virtualization\n");
return (ENXIO);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 11, 9:05 PM (15 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16601152
Default Alt Text
D45557.diff (713 B)
Attached To
Mode
D45557: arm64/vmm: Avoid unnecessary indirection in vmmops_modinit()
Attached
Detach File
Event Timeline
Log In to Comment