Skip to content

Commit

Permalink
vmm: no tss cap check on non x86_64 platforms
Browse files Browse the repository at this point in the history
Signed-off-by: Diana Popa <dpopa@amazon.com>
  • Loading branch information
dianpopa committed Jan 17, 2019
1 parent bd3abb8 commit 06775db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vmm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ impl KvmContext {
check_cap(&kvm, Cap::Ioeventfd)?;
check_cap(&kvm, Cap::Irqfd)?;
// check_cap(&kvm, Cap::ImmediateExit)?;
#[cfg(target_arch = "x86_64")]
check_cap(&kvm, Cap::SetTssAddr)?;
check_cap(&kvm, Cap::UserMemory)?;

Expand Down

0 comments on commit 06775db

Please sign in to comment.