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:
Jim Fehlig 2016-02-22 19:20:41 -07:00
parent 4c9ffc5388
commit 10c3db7308
2 changed files with 2 additions and 2 deletions

View File

@ -493,7 +493,7 @@ libxlCapsInitGuests(libxl_ctx *ctx, virCapsPtr caps)
if (virCapabilitiesAddGuestFeature(guest,
"hap",
0,
1,
1) == NULL)
return -1;
}

View File

@ -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;