mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
d796ad7bce
commit
306869d9d0
1 file changed
+7
@@ -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 )
|
||||
|
||||