Hello all,
As include/linux/*.h file count is going to reach 1000.
We need to do some better techniques to reduce the number of files and
add some hierarchy levels like sub directories where possible.
Like atmel is not exporting to user-space we can easily do :
include/linux/atmel-mci.h -
toggle_interruptibility() is used only by same file, it should be static.
Fixed following sparse warning :
arch/x86/kvm/x86_emulate.c:1364:6: warning: symbol 'toggle_interruptibility'
was not declared. Should it be static?
Signed-off-by: Jaswinder Singh Rajput jaswinderraj...@gmail.com
No user is available for functions gethugepagesize() and alloc_mem_area()
Fixes :
CCx86_64-softmmu/vl.o
/home/jaswinder/jaswinder-git/qemu-kvm/vl.c:4884: warning: ‘alloc_mem_area’
defined but not used
Signed-off-by: Jaswinder Singh Rajput jaswinderraj...@gmail.com
---
vl.c | 84
): MTRRfix4K_C8000 (0x269): MTRRfix4K_D 0x26a:
MTRRfix4K_D8000 0x26b: MTRRfix4K_E 0x26c: MTRRfix4K_E8000 0x26d:
MTRRfix4K_F 0x26e: MTRRfix4K_F8000 0x26f: MTRRdefType (0x2ff):
So better return for those cases.
Signed-off-by: Jaswinder Singh Rajput jaswinderraj...@gmail.com
---
mtrr.c |8
:-)
Signed-off-by: Jaswinder Singh Rajput jaswinderraj...@gmail.com
---
localversion-kvm |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 localversion-kvm
diff --git a/localversion-kvm b/localversion-kvm
new file mode 100644
index 000..d969ff0
--- /dev/null
+++ b
On Fri, 2009-05-29 at 09:48 +0200, Christian Bornträger wrote:
Am Freitag 29 Mai 2009 09:18:14 schrieb Jaswinder Singh Rajput:
Adding localversion avoids confusion in kernel images :
like Linux version 2.6.30-rc7 does not tell whether it is linus or kvm
kernel.
By adding localversion
Hello Jan,
On Tue, 2009-05-26 at 23:01 +0200, Jan Kiszka wrote:
Reposted as joint patch as there is no MSR_K7 in your next queue.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
x86/external-module-compat.h |8
1 files changed, 8 insertions(+), 0
On Wed, 2009-05-27 at 12:05 +0200, Jan Kiszka wrote:
Jaswinder Singh Rajput wrote:
It will look more beautiful if we arrange MSR addresses in some order
(say increasing order) :
+#ifndef MSR_K8_SYSCFG
+#define MSR_K8_SYSCFG 0xc0010010
+#endif
+
+#ifndef
Hello Jan,
On Tue, 2009-05-26 at 13:52 +0200, Jan Kiszka wrote:
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
x86/external-module-compat.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h
index
On Tue, 2009-05-26 at 14:36 +0200, Jan Kiszka wrote:
Jaswinder Singh Rajput wrote:
Hello Jan,
On Tue, 2009-05-26 at 13:52 +0200, Jan Kiszka wrote:
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
x86/external-module-compat.h |4
1 files changed, 4 insertions(+), 0
Hello Avi,
On Sun, 2009-05-17 at 21:48 +0300, Avi Kivity wrote:
Jaswinder Singh Rajput wrote:
If this patch looks sane to you can apply in kvm tree.
Here is the updated patch based on kvm tree:
[PATCH] x86: kvm replace MSR_IA32_TIME_STAMP_COUNTER with MSR_IA32_TSC of
msr-index.h
Hello Avi,
On Thu, 2009-05-14 at 11:57 +0530, Jaswinder Singh Rajput wrote:
Use standard msr-index.h's MSR declaration.
MSR_IA32_TSC is better than MSR_IA32_TIME_STAMP_COUNTER as it also solves
80 column issue.
Signed-off-by: Jaswinder Singh Rajput jaswinderraj...@gmail.com
On Thu, 2009-05-14 at 11:00 +0530, Jaswinder Singh Rajput wrote:
Here is the patch:
[PATCH -tip] x86: kvm/x86.c use MSR names in place of address
Replace 0xc0010010 with MSR_K8_SYSCFG and 0xc0010015 with MSR_K7_HWCR.
Signed-off-by: Jaswinder Singh Rajput jaswinderraj...@gmail.com
Use standard msr-index.h's MSR declaration.
MSR_IA32_TSC is better than MSR_IA32_TIME_STAMP_COUNTER as it also solves
80 column issue.
Signed-off-by: Jaswinder Singh Rajput jaswinderraj...@gmail.com
---
arch/x86/include/asm/kvm_host.h |2 --
arch/x86/kvm/svm.c |4
On Mon, 2009-05-11 at 17:08 +0800, Huang Ying wrote:
On Mon, 2009-05-11 at 17:05 +0800, Jaswinder Singh Rajput wrote:
On Mon, 2009-05-11 at 16:48 +0800, Huang Ying wrote:
+int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata)
+{
+ u64 data;
+
+ switch (msr
On Mon, 2009-05-11 at 16:48 +0800, Huang Ying wrote:
+int kvm_get_msr_common(struct kvm_vcpu *vcpu, u32 msr, u64 *pdata)
+{
+ u64 data;
+
+ switch (msr) {
+ case 0xc0010010: /* SYSCFG */
+ case 0xc0010015: /* HWCR */
You can replace this with :
+ case MSR_K8_SYSCFG:
16 matches
Mail list logo