summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorLiu Yuan2014-06-17 07:45:35 +0200
committerStefan Hajnoczi2014-06-23 10:36:13 +0200
commit5d5da114b39d3cf187a69dcf5eaca7eaf886c041 (patch)
treedb1bbbaccf4bc99dc373920c9fd409155fa9f5f1 /scripts/switch-timer-api
parentQemuOpts: check NULL opts in qemu_opt_get functions (diff)
downloadqemu-5d5da114b39d3cf187a69dcf5eaca7eaf886c041.tar.gz
qemu-5d5da114b39d3cf187a69dcf5eaca7eaf886c041.tar.xz
qemu-5d5da114b39d3cf187a69dcf5eaca7eaf886c041.zip
sheepdog: fix NULL dereference in sd_create
Following command qemu-img create -f qcow2 sheepdog:test 20g will cause core dump because aio_context is NULL in sd_create. We should initialize it by qemu_get_aio_context() to avoid NULL dereference. Cc: qemu-devel@nongnu.org Cc: Kevin Wolf <kwolf@redhat.com> Cc: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Liu Yuan <namei.unix@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions