Skip to content

Commit 60510b0

Browse files
committed
vmm: no tss cap check on non x86_64 platforms
Signed-off-by: Diana Popa <[email protected]>
1 parent 2f199f0 commit 60510b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vmm/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ impl KvmContext {
294294
check_cap(&kvm, Cap::Ioeventfd)?;
295295
check_cap(&kvm, Cap::Irqfd)?;
296296
// check_cap(&kvm, Cap::ImmediateExit)?;
297+
#[cfg(target_arch = "x86_64")]
297298
check_cap(&kvm, Cap::SetTssAddr)?;
298299
check_cap(&kvm, Cap::UserMemory)?;
299300

0 commit comments

Comments
 (0)