aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/lib/libgcc.h
diff options
context:
space:
mode:
authorAmit Shah <[email protected]>2011-03-16 19:12:10 +0530
committerRusty Russell <[email protected]>2011-04-21 22:57:00 +0930
commitb3258ff1d6086bd2b9eeb556844a868ad7d49bc8 (patch)
tree2c9dde005804227038c997a983ded7e46951ca64 /arch/sparc/lib/libgcc.h
parent584f79046780e10cb24367a691f8c28398a00e84 (diff)
virtio: Decrement avail idx on buffer detach
When detaching a buffer from a vq, the avail.idx value should be decremented as well. This was noticed by hot-unplugging a virtio console port and then plugging in a new one on the same number (re-using the vqs which were just 'disowned'). qemu reported 'Guest moved used index from 0 to 256' when any IO was attempted on the new port. CC: [email protected] Reported-by: juzhang <[email protected]> Signed-off-by: Amit Shah <[email protected]> Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'arch/sparc/lib/libgcc.h')
0 files changed, 0 insertions, 0 deletions