diff options
| author | Pankaj Gupta | 2019-07-12 09:35:52 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2019-07-12 16:56:27 +0200 |
| commit | f37f47126236c8dc710d97da8ca9d43c38bef4ec (patch) | |
| tree | e2e2af7cb30ef128f0b15bbbf3bc74bce1a6da2e /python/qemu/machine.py | |
| parent | tests: acpi: do not skip tests when IASL is not installed (diff) | |
| download | qemu-f37f47126236c8dc710d97da8ca9d43c38bef4ec.tar.gz qemu-f37f47126236c8dc710d97da8ca9d43c38bef4ec.tar.xz qemu-f37f47126236c8dc710d97da8ca9d43c38bef4ec.zip | |
virtio pmem: fix wrong mem region condition
Coverity reported memory region returns zero
for non-null value. This is because of wrong
arguments to '?:' , fixing this.
Signed-off-by: Pankaj Gupta <pagupta@redhat.com>
Message-Id: <20190712073554.21918-2-pagupta@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'python/qemu/machine.py')
0 files changed, 0 insertions, 0 deletions
