mirror of https://gitee.com/openkylin/linux.git
xen: do not use xen_info on HVM, set pv_info name to "Xen HVM"
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Jeremy Fitzhardinge <jeremy@goop.org>
This commit is contained in:
parent
702d4eb9b3
commit
cff520b9c2
|
@ -1284,8 +1284,7 @@ static int init_hvm_pv_info(int *major, int *minor)
|
||||||
|
|
||||||
xen_setup_features();
|
xen_setup_features();
|
||||||
|
|
||||||
pv_info = xen_info;
|
pv_info.name = "Xen HVM";
|
||||||
pv_info.kernel_rpl = 0;
|
|
||||||
|
|
||||||
xen_domain_type = XEN_HVM_DOMAIN;
|
xen_domain_type = XEN_HVM_DOMAIN;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue