diff options
| author | Jason Wang | 2017-03-15 12:48:30 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-03-15 18:37:19 +0100 |
| commit | 168e4af3c129534ee7d81edc238a9aa9ca0dd474 (patch) | |
| tree | 67bd6c94fe914748aa4a3fc9b32dad611fafbb07 /include | |
| parent | Bugfix: Handle error if VM Generation ID device not present (diff) | |
| download | qemu-168e4af3c129534ee7d81edc238a9aa9ca0dd474.tar.gz qemu-168e4af3c129534ee7d81edc238a9aa9ca0dd474.tar.xz qemu-168e4af3c129534ee7d81edc238a9aa9ca0dd474.zip | |
virtio: guard against NULL pfn
To avoid access stale memory region cache after reset, this patch
check the existence of virtqueue pfn for all exported virtqueue access
helpers before trying to use them.
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
