mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
Xen drivers: show hap enabled by default in capabilities
Hardware Assisted Paging is enabled by default in Xen. Change the capabilities output to reflect this. Signed-off-by: Jim Fehlig <jfehlig@suse.com>
This commit is contained in:
parent
4c9ffc5388
commit
10c3db7308
@ -493,7 +493,7 @@ libxlCapsInitGuests(libxl_ctx *ctx, virCapsPtr caps)
|
||||
|
||||
if (virCapabilitiesAddGuestFeature(guest,
|
||||
"hap",
|
||||
0,
|
||||
1,
|
||||
1) == NULL)
|
||||
return -1;
|
||||
}
|
||||
|
@ -2206,7 +2206,7 @@ xenHypervisorBuildCapabilities(virConnectPtr conn, virArch hostarch,
|
||||
if ((hv_major == 3 && hv_minor >= 3) || (hv_major > 3))
|
||||
if (virCapabilitiesAddGuestFeature(guest,
|
||||
"hap",
|
||||
false,
|
||||
true,
|
||||
true) == NULL)
|
||||
goto no_memory;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user