Skip to content

Commit 91e198d

Browse files
committed
fix rebase
1 parent 76a48c9 commit 91e198d

File tree

1 file changed

+2
-1
lines changed
  • openhcl/virt_mshv_vtl/src/processor/snp

1 file changed

+2
-1
lines changed

openhcl/virt_mshv_vtl/src/processor/snp/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ impl HardwareIsolatedBacking for SnpBacked {
334334
dev: &impl CpuIo,
335335
) -> Result<bool, UhRunVpError> {
336336
this.cvm_handle_cross_vtl_interrupts(|this, vtl, check_rflags| {
337-
let vmsa = this.runner.vmsa_mut(vtl);
337+
let (avic_page, vmsa) = this.runner.secure_avic_page_vmsa_mut(vtl);
338338
if vmsa.event_inject().valid()
339339
&& vmsa.event_inject().interruption_type() == x86defs::snp::SEV_INTR_TYPE_NMI
340340
{
@@ -347,6 +347,7 @@ impl HardwareIsolatedBacking for SnpBacked {
347347
.access(&mut SnpApicClient {
348348
partition: this.partition,
349349
vmsa,
350+
avic_page,
350351
dev,
351352
vmtime: &this.vmtime,
352353
vtl,

0 commit comments

Comments
 (0)