diff options
author | Jason Wang <jasowang@redhat.com> | 2011-05-18 13:57:37 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-06-12 10:33:38 +0300 |
commit | d3674c5754775eb65ec2f2fd5f8cfe9b032ca0b1 (patch) | |
tree | bb074dc6c76acef80cd297fa001f80ef0d44886e /tests/lm32/test_cmpne.S | |
parent | 7157e2e23e89adcd436caeab31fdd6b47eded377 (diff) |
virtio: correctly initialize vm_running
Current vm_running was not explicitly initialized and its value was changed by
vm state notifier, this may confuse the virtio device being hotplugged such as
virtio-net with vhost backend as it may think the vm was not running. Solve this
by initialize this value explicitly in virtio_common_init().
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests/lm32/test_cmpne.S')
0 files changed, 0 insertions, 0 deletions