lguest: fix descriptor corruption in example launcher
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 30 Jul 2009 22:03:43 +0000 (16:03 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 30 Jul 2009 06:33:43 +0000 (16:03 +0930)
commit8ef562d112c82ec539775698f8b63ac5ec1bd766
tree4bf0997d89cb138f8d061c948dca6286ab368973
parentf294526279cda8934b0313ebd02184a16ba888c9
lguest: fix descriptor corruption in example launcher

1d589bb16b825b3a7b4edd34d997f1f1f953033d "Add serial number support
for virtio_blk, V4a" extended 'struct virtio_blk_config' to 536 bytes.
Lguest and S/390 both use an 8 bit value for the feature length, and
this change broke them (if the code is naive).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: John Cooper <john.cooper@redhat.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Documentation/lguest/lguest.c