tools/lguest: handle device reset correctly in example launcher.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Feb 2015 06:43:40 +0000 (17:13 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 13 Feb 2015 06:45:45 +0000 (17:15 +1030)
The example launcher doesn't reset the queue_enable like the spec says
we have to.  Plus, we should reset the size in case they negotiated
a different (smaller) one.

This is easy to test by unloading and reloading a virtio module.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/lguest/lguest.c

Simple merge