Fam Zheng ca749954b0 osdep: Add runtime OFD lock detection
Build time check of OFD lock is not sufficient and can cause image open
errors when the runtime environment doesn't support it.

Add a helper function to probe it at runtime, additionally. Also provide
a qemu_has_ofd_lock() for callers to check the status.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2017-08-11 14:12:44 +02:00
..
2017-04-11 20:07:15 +08:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2017-05-17 17:30:45 +01:00
2016-02-04 17:01:04 +00:00
2017-06-22 10:25:03 +01:00
2016-06-16 18:39:03 +02:00
2016-02-04 17:01:04 +00:00
2017-08-11 14:12:44 +02:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2017-06-16 07:55:00 +08:00
2016-09-23 11:42:52 +08:00