commit | 393f04d3ab40d03aa2fde0017ff7f02fc34cbd4e | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Fri Nov 06 16:02:49 2015 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Nov 12 15:49:33 2015 +0200 |
tree | 54a2fe90ba17330bba4ffcde2a2a9c4ad7cbbcd3 | |
parent | 9824d2a39d9893ef9bbe71f94efb57da265b73f6 [diff] |
virtio-pci: unbreak queue_enable read Guest always get zero when reading queue_enable. This violates spec. Fixing this by setting the queue_enable to true during any guest writing and setting it to zero during reset. Cc: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>