Remove unneeded semicolon in kvm_vgic_hyp_init.
Signed-off-by: Peng Hao
---
virt/kvm/arm/vgic/vgic-init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virt/kvm/arm/vgic/vgic-init.c b/virt/kvm/arm/vgic/vgic-init.c
index c0c0b88..3496155 100644
--- a/virt/kvm/arm/vgic/vgic
Remove unnecessary semicolon in vgic_put_irq.
Signed-off-by: Peng Hao
---
virt/kvm/arm/vgic/vgic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virt/kvm/arm/vgic/vgic.c b/virt/kvm/arm/vgic/vgic.c
index 7cfdfbc..f9ff5c7 100644
--- a/virt/kvm/arm/vgic/vgic.c
+++ b/virt/kvm
Remove unnecessary local variable in vgic_set_common_attr
Signed-off-by: Peng Hao
---
virt/kvm/arm/vgic/vgic-kvm-device.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/virt/kvm/arm/vgic/vgic-kvm-device.c
b/virt/kvm/arm/vgic/vgic-kvm-device.c
index 114dce9..53e5df7
According to adjust the position of variables in kvm_vcpu_arch,
the size of kvm_vcpu can reduce 16 bytes.
before:
cat /proc/slabinfo | grep kvm
kvm_vcpu 252252 9120 28 ...
after:
cat /proc/slabinfo | grep kvm
kvm_vcpu 28 28 9104 28 ...
Signed-off-by: Peng Hao
---
arch
Return 0 when there is enough kvm_mmu_memory_cache object.
Signed-off-by: Peng Hao
---
virt/kvm/arm/mmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virt/kvm/arm/mmu.c b/virt/kvm/arm/mmu.c
index ed162a6..fcda0ce 100644
--- a/virt/kvm/arm/mmu.c
+++ b/virt/kvm/arm/mmu.c
or V2
correctly, so group is not set.
group is setted to 1 when vgic_mmio_write_group is invoked at some
time.
when irq->group=0 (intid=27), No ICH_LR_GROUP flag was set and
interrupt injection failed.
Signed-off-by: Peng Hao
---
virt/kvm/arm/vgic/vgic-v3.c | 2 +-
1 file changed, 1 inserti
fix some "warning: no previous prototype".
Signed-off-by: Peng Hao
---
virt/kvm/arm/vgic/vgic-its.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/virt/kvm/arm/vgic/vgic-its.c b/virt/kvm/arm/vgic/vgic-its.c
index 4650953..881494b 100644
--- a/virt/kvm/arm
The two switch cases have the same handler, so merge them.
Signed-off-by: Peng Hao
---
virt/kvm/arm/vgic/vgic-its.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/virt/kvm/arm/vgic/vgic-its.c b/virt/kvm/arm/vgic/vgic-its.c
index 4650953..aa41b29 100644
--- a/virt/kvm/arm/vgic/vgic-its.c
Add lpi debug info to vgic-stat.
The printed info like this:
SPI 287 0 0100 0 160 -1
LPI 8192 2 00010000 0 160 -1
Signed-off-by: Peng Hao
---
virt/kvm/arm/vgic/vgic-debug.c | 59 ++
virt
Add lpi debug info to vgic-stat.
the printed info like this:
SPI 287 0 0100 0 160 -1
LPI 8192 2 00010000 0 160 -1
Signed-off-by: Peng Hao
---
virt/kvm/arm/vgic/vgic-debug.c | 56 ++
1
Add lpi debug info to vgic-stat.
the printed info like this:
SPI 287 0 0100 0 160 -1
LPI 8192 2 00010000 0 160 -1
Signed-off-by: Peng Hao
---
virt/kvm/arm/vgic/vgic-debug.c | 61 ++
1
Using a global per-CPU variable instead of per-VM's per-CPU variable.
Signed-off-by: Peng Hao
---
arch/arm/include/asm/kvm_host.h | 3 ---
arch/arm64/include/asm/kvm_host.h | 3 ---
virt/kvm/arm/arm.c| 26 ++
3 files changed, 6 insertions(+
For emulation devices just like vga, keeping coherent dcache between
guest and host timely is needed.
Now the display of vnc-viewer will not update continuously and the
patch can fix up.
Signed-off-by: Peng Hao
---
virt/kvm/arm/mmu.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions
13 matches
Mail list logo