aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/bios-tables-test-allowed-diff.h
diff options
context:
space:
mode:
authorWang Liang <wangliangzz@inspur.com>2021-03-16 22:41:45 -0400
committerMichael S. Tsirkin <mst@redhat.com>2021-03-22 10:17:53 -0400
commitd2adda34a9989404a4fc86cb4127a3ea103a7938 (patch)
tree9412a4a05b127c8c5623feff6306ada25c0804b6 /tests/qtest/bios-tables-test-allowed-diff.h
parentdb8a3772e300c1a656331a92da0785d81667dc81 (diff)
virtio-pmem: fix virtio_pmem_resp assign problem
ret in virtio_pmem_resp is a uint32_t variable, which should be assigned using virtio_stl_p. The kernel side driver does not guarantee virtio_pmem_resp to be initialized to zero in advance, So sometimes the flush operation will fail. Signed-off-by: Wang Liang <wangliangzz@inspur.com> Message-Id: <20210317024145.271212-1-wangliangzz@126.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Pankaj Gupta <pankaj.gupta@cloud.ionos.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests/qtest/bios-tables-test-allowed-diff.h')
0 files changed, 0 insertions, 0 deletions