vixen: trick libxl to think the guest is enlightened

... so that we can gracefully shutdown the guest.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Anthony Liguori <aliguori@amazon.com>
---
v1 -> v2
 - remove spurious include
This commit is contained in:
Wei Liu committed 2018-01-11 17:28:43 +00:00
1 parent d796ad7bce
commit 306869d9d0
1 file changed
+7
+7
View File
@@ -350,6 +350,13 @@ void vixen_vcpu_initialize(struct vcpu *v)
if ( !rc )
vixen_needs_apic_ack = false;
}
} else {
/*
* XXX Upcall vector setup succeeded. Trick xl to think the guest is
* enlightened!
*/
if ( hvm_set_parameter(HVM_PARAM_CALLBACK_IRQ, -1) )
printk("Setting dummy value for callback_via didn't work\n");
}
if ( rc )
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.