Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 926919 Details for
Bug 1006027
-mem-prealloc option behaviour is opposite to expected
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
fix -mem-prealloc to match upstream semantics
0001-mem_prealloc-fix-default-value.patch (text/plain), 1.01 KB, created by
Andrea Arcangeli
on 2014-08-14 21:40:16 UTC
(
hide
)
Description:
fix -mem-prealloc to match upstream semantics
Filename:
MIME Type:
Creator:
Andrea Arcangeli
Created:
2014-08-14 21:40:16 UTC
Size:
1.01 KB
patch
obsolete
>From f9e81dfccc841278ad5575167d121b7afe7a7923 Mon Sep 17 00:00:00 2001 >From: Andrea Arcangeli <aarcange@redhat.com> >Date: Thu, 14 Aug 2014 23:32:02 +0200 >Subject: [RHEL-6.6 qemu-kvm PATCH] mem_prealloc: fix default value > >Like -help says: > >-mem-prealloc preallocate guest memory > >Without this change -mem-prealloc actually disables -mem-prealloc. > >Also it would be better to have all those variables initialized to >zero in the .bss without having initializing them with a .data section >that wastes binary size. > >Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> >--- > vl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/vl.c b/vl.c >index c7d97aa..efc341f 100644 >--- a/vl.c >+++ b/vl.c >@@ -254,7 +254,7 @@ unsigned int kvm_shadow_memory = 0; > const char *mem_path = NULL; > int disable_KSM; > #ifdef MAP_POPULATE >-int mem_prealloc = 1; /* force preallocation of physical target memory */ >+int mem_prealloc = 0; /* use -mem-prealloc to force preallocation */ > #endif > #ifdef TARGET_ARM > int old_param = 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1006027
: 926919