migration: remove qemu_get_fd method from QEMUFile
commit12992c16d9afd8a23a94a84ad532a1adedf9e511
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 27 Apr 2016 10:05:18 +0000 (27 11:05 +0100)
committerAmit Shah <amit.shah@redhat.com>
Thu, 26 May 2016 06:02:21 +0000 (26 11:32 +0530)
tree083645f6a967ce460761ae32ad53815614cc7098
parent11808bb0c422134bf09119f4aa22c59b0ce84bf3
migration: remove qemu_get_fd method from QEMUFile

Now that there is a set_blocking callback in QEMUFileOps,
and all users needing non-blocking support have been
converted to QIOChannel, there is no longer any codepath
requiring the qemu_get_fd() method for QEMUFile. Remove it
to avoid further code being introduced with an expectation
of direct file handle access.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1461751518-12128-29-git-send-email-berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
include/migration/qemu-file.h
migration/qemu-file.c