summary refs log tree commit diff stats
path: root/scripts/qapi-introspect.py
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2015-09-11 15:16:41 +0200
committerMichael S. Tsirkin <mst@redhat.com>2015-09-24 13:42:17 +0300
commit46c5d0823d0186daf4064065bf739858dadfcf8c (patch)
tree0a39ac5cce8786400bdeda3bc829567846eed933 /scripts/qapi-introspect.py
parent87e896abe6d926caba19a9b8a83936fca2137f05 (diff)
downloadfocaccia-qemu-46c5d0823d0186daf4064065bf739858dadfcf8c.tar.gz
focaccia-qemu-46c5d0823d0186daf4064065bf739858dadfcf8c.zip
virtio: ring sizes vs. reset
We allow guests to change the size of the virtqueue rings by supplying
a number of buffers that is different from the number of buffers the
device was initialized with. Current code has some problems, however,
since reset does not reset the ringsizes to the default values (as this
is not saved anywhere).

Let's extend the core code to keep track of the default ringsizes and
migrate them once the guest changed them for any of the virtqueues
for a device.

Reviewed-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/qapi-introspect.py')
0 files changed, 0 insertions, 0 deletions