Skip to content

Commit

Permalink
macos: Fixup assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
mkroening committed Sep 6, 2021
1 parent 6ff81f4 commit f733cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macos/vcpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ impl VirtualCPU for UhyveCPU {
let len = self.vcpu.read_vmcs(VMCS_RO_VMEXIT_INSTR_LEN)?;
let port: u16 = ((qualification >> 16) & 0xFFFF) as u16;

assert!(input, "Invalid I/O operation");
assert!(!input, "Invalid I/O operation");

match port {
SHUTDOWN_PORT => {
Expand Down

0 comments on commit f733cdb

Please sign in to comment.