Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.5:Update
xen.28171
libxc-sr-3cccdae45242dab27198b8e150be0c85acd5d3...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libxc-sr-3cccdae45242dab27198b8e150be0c85acd5d3c9.patch of Package xen.28171
From: Olaf Hering <olaf@aepfle.de> Date: Wed, 9 Sep 2020 11:06:37 +0000 Subject: libxc sr 3cccdae45242dab27198b8e150be0c85acd5d3c9 libxenguest: use bitmap_alloc Use existing helper to allocate a bitmap. Signed-off-by: Olaf Hering <olaf@aepfle.de> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> [ wei: rebase to staging ] Signed-off-by: Wei Liu <wl@xen.org> (cherry picked from commit 3cccdae45242dab27198b8e150be0c85acd5d3c9) --- tools/libxc/xc_sr_save.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- xen-4.14.0-testing.orig/tools/libxc/xc_sr_save.c +++ xen-4.14.0-testing/tools/libxc/xc_sr_save.c @@ -809,7 +809,7 @@ static int setup(struct xc_sr_context *c xch, dirty_bitmap, NRPAGES(bitmap_size(ctx->save.p2m_size))); ctx->save.batch_pfns = malloc(MAX_BATCH_SIZE * sizeof(*ctx->save.batch_pfns)); - ctx->save.deferred_pages = calloc(1, bitmap_size(ctx->save.p2m_size)); + ctx->save.deferred_pages = bitmap_alloc(ctx->save.p2m_size); if ( !ctx->save.batch_pfns || !dirty_bitmap || !ctx->save.deferred_pages ) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor