From ee4180bef124cbc08a702689dda6fd95b21b1387 Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Tue, 11 Jul 2017 15:15:01 +0200 Subject: [PATCH] qemu: Export virQEMUCapsGuestIsNative Signed-off-by: Jiri Denemark Reviewed-by: Pavel Hrdina --- src/qemu/qemu_capabilities.c | 2 +- src/qemu/qemu_capabilities.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index db9f9b8b13..7cce4b18d8 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -545,7 +545,7 @@ static const char *virQEMUCapsArchToString(virArch arch) /* Checks whether a domain with @guest arch can run natively on @host. */ -static bool +bool virQEMUCapsGuestIsNative(virArch host, virArch guest) { diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h index fb22815e94..275e33c72a 100644 --- a/src/qemu/qemu_capabilities.h +++ b/src/qemu/qemu_capabilities.h @@ -547,4 +547,7 @@ int virQEMUCapsFillDomainCaps(virCapsPtr caps, virFirmwarePtr *firmwares, size_t nfirmwares); +bool virQEMUCapsGuestIsNative(virArch host, + virArch guest); + #endif /* __QEMU_CAPABILITIES_H__*/