aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/x86.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index cd71d210c409..386cab9b5c68 100644
--- 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,
3948 if (vcpu->arch.pio.count) 3948 if (vcpu->arch.pio.count)
3949 goto data_avail; 3949 goto data_avail;
3950 3950
3951 trace_kvm_pio(0, port, size, 1); 3951 trace_kvm_pio(0, port, size, count);
3952 3952
3953 vcpu->arch.pio.port = port; 3953 vcpu->arch.pio.port = port;
3954 vcpu->arch.pio.in = 1; 3954 vcpu->arch.pio.in = 1;
@@ -3976,7 +3976,7 @@ static int emulator_pio_out_emulated(int size, unsigned short port,
3976 const void *val, unsigned int count, 3976 const void *val, unsigned int count,
3977 struct kvm_vcpu *vcpu) 3977 struct kvm_vcpu *vcpu)
3978{ 3978{
3979 trace_kvm_pio(1, port, size, 1); 3979 trace_kvm_pio(1, port, size, count);
3980 3980
3981 vcpu->arch.pio.port = port; 3981 vcpu->arch.pio.port = port;
3982 vcpu->arch.pio.in = 0; 3982 vcpu->arch.pio.in = 0;