1
0
Fork 0

xen pvhvm: do not remap pirqs onto evtchns if !xen_have_vector_callback

CC: stable@kernel.org #2.6.37 and onwards
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
hifive-unleashed-5.1
Stefano Stabellini 2012-01-30 14:31:46 +00:00 committed by Konrad Rzeszutek Wilk
parent 41bd956de3
commit 207d543f47
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ int __init pci_xen_init(void)
int __init pci_xen_hvm_init(void)
{
if (!xen_feature(XENFEAT_hvm_pirqs))
if (!xen_have_vector_callback || !xen_feature(XENFEAT_hvm_pirqs))
return 0;
#ifdef CONFIG_ACPI