@@ -87,6 +87,9 @@ test-like-ci config=default-target hypervisor="kvm":
8787 @ # with only one driver enabled + build-metadata + init-paging
8888 just test {{ config}} build-metadata,init-paging,{{ if hypervisor == " mshv3" {" mshv3" } else {" kvm" } }}
8989
90+ @ # with hw-interrupts enabled (+ explicit driver on Linux)
91+ {{ if os () == " linux" { if hypervisor == " mshv3" { " just test " + config + " mshv3,hw-interrupts" } else { " just test " + config + " kvm,hw-interrupts" } } else { " just test " + config + " hw-interrupts" } }}
92+
9093 @ # make sure certain cargo features compile
9194 just check
9295
@@ -151,6 +154,9 @@ build-test-like-ci config=default-target hypervisor="kvm":
151154 @ # Run Rust tests with single driver
152155 {{ if os () == " linux" { " just test " + config+ " " + if hypervisor == " mshv3" { " mshv3" } else { " kvm" } } else { " " } }}
153156
157+ @ # Run Rust tests with hw-interrupts
158+ {{ if os () == " linux" { if hypervisor == " mshv3" { " just test " + config + " mshv3,hw-interrupts" } else { " just test " + config + " kvm,hw-interrupts" } } else { " just test " + config + " hw-interrupts" } }}
159+
154160 @ # Run Rust Gdb tests
155161 just test-rust-gdb-debugging {{ config}}
156162
@@ -282,6 +288,7 @@ check:
282288 {{ cargo-cmd }} check -p hyperlight-host --features print_debug {{ target-triple-flag }}
283289 {{ cargo-cmd }} check -p hyperlight-host --features gdb {{ target-triple-flag }}
284290 {{ cargo-cmd }} check -p hyperlight-host --features trace_guest,mem_profile {{ target-triple-flag }}
291+ {{ cargo-cmd }} check -p hyperlight-host --features hw-interrupts {{ target-triple-flag }}
285292
286293fmt-check :
287294 rustup + nightly component list | grep -q " rustfmt.*installed" || rustup component add rustfmt --toolchain nightly
0 commit comments