Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156449795
D52136.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
536 B
Referenced Files
None
Subscribers
None
D52136.diff
View Options
diff --git a/sys/amd64/vmm/intel/vmx_support.S b/sys/amd64/vmm/intel/vmx_support.S
--- a/sys/amd64/vmm/intel/vmx_support.S
+++ b/sys/amd64/vmm/intel/vmx_support.S
@@ -171,13 +171,11 @@
*/
movq %rsp, %rdi /* point %rdi back to 'vmxctx' */
movl $VMX_VMLAUNCH_ERROR, %eax
- jmp decode_inst_error
-
+ /* FALLTHROUGH */
decode_inst_error:
movl $VM_FAIL_VALID, %r11d
- jz inst_error
- movl $VM_FAIL_INVALID, %r11d
-inst_error:
+ movl $VM_FAIL_INVALID, %esi
+ cmovnzl %esi, %r11d
movl %r11d, VMXCTX_INST_FAIL_STATUS(%rdi)
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 14, 6:39 PM (10 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33054145
Default Alt Text
D52136.diff (536 B)
Attached To
Mode
D52136: amd64 vmx: micro-optimize vmlaunch failure path
Attached
Detach File
Event Timeline
Log In to Comment