From: Paolo Bonzini
SMBus protocol sends offset and length before the actual data that
is transferred. So we need to skip two bytes rather than one.
Signed-off-by: Paolo Bonzini
---
hw/i2c/smbus.c |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/i2c/smbus.c b/h
SMBus protocol sends offset and length before the actual data that
is transferred. So we need to skip two bytes rather than one.
Signed-off-by: Paolo Bonzini
---
hw/smbus.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/smbus.c b/hw/smbus.c
index 77626f3..4ff2