projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3c422b
)
KVM: Correct kvm_pio tracepoint count field
author
Avi Kivity
<avi@redhat.com>
Mon, 13 Dec 2010 15:24:53 +0000
(17:24 +0200)
committer
Avi Kivity
<avi@redhat.com>
Wed, 12 Jan 2011 09:30:52 +0000
(11:30 +0200)
Currently, we record '1' for count regardless of the real count. Fix.
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/x86.c
b/arch/x86/kvm/x86.c
index cd71d210c40972a65e2f01759e7849614f58a6c1..386cab9b5c68b8a0243a583d48d3baada6cde4aa 100644
(file)
--- a/
arch/x86/kvm/x86.c
+++ b/
arch/x86/kvm/x86.c
@@
-3948,7
+3948,7
@@
static int emulator_pio_in_emulated(int size, unsigned short port, void *val,
if (vcpu->arch.pio.count)
goto data_avail;
- trace_kvm_pio(0, port, size,
1
);
+ trace_kvm_pio(0, port, size,
count
);
vcpu->arch.pio.port = port;
vcpu->arch.pio.in = 1;
@@
-3976,7
+3976,7
@@
static int emulator_pio_out_emulated(int size, unsigned short port,
const void *val, unsigned int count,
struct kvm_vcpu *vcpu)
{
- trace_kvm_pio(1, port, size,
1
);
+ trace_kvm_pio(1, port, size,
count
);
vcpu->arch.pio.port = port;
vcpu->arch.pio.in = 0;