aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2011-05-05 11:30:26 +0100
committerDaniel P. Berrange <berrange@redhat.com>2011-05-05 12:53:23 +0100
commitf7fc885dec1bd65ebb336a60715b88616d2eb681 (patch)
tree724d56af72d8384a80ab9cb6fd466cb8e93834e0 /tests/virbuftest.c
parentMake QEMU migration use cached qemu capabilities data (diff)
downloadlibvirt-f7fc885dec1bd65ebb336a60715b88616d2eb681.tar.gz
libvirt-f7fc885dec1bd65ebb336a60715b88616d2eb681.tar.bz2
libvirt-f7fc885dec1bd65ebb336a60715b88616d2eb681.zip
Fix qemuMigrationToFile nonull annotation
The qemuMigrationToFile method was accidentally annotated for the 'compressor' parameter to be non-null, instead of the 'path' parameter. Thus GCC with -O2, unhelpfully deleted the entire 'if (compressor == NULL)' block of code during optimization. Thus NULL was passed to virCommandNew() with predictably bad results. * src/qemu/qemu_migration.h: Fix non-null annotation to be against path instead of compressor
Diffstat (limited to 'tests/virbuftest.c')
0 files changed, 0 insertions, 0 deletions