xen/netback: Enable netback on HVM guests
Acked-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
parent
7d17e84bb8
commit
2a14b24406
@ -1638,7 +1638,7 @@ static int __init netback_init(void)
|
|||||||
int rc = 0;
|
int rc = 0;
|
||||||
int group;
|
int group;
|
||||||
|
|
||||||
if (!xen_pv_domain())
|
if (!xen_domain())
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
xen_netbk_group_nr = num_online_cpus();
|
xen_netbk_group_nr = num_online_cpus();
|
||||||
|
Loading…
Reference in New Issue
Block a user