[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-6.0 4/6] softmmu: Remove kvm_available()
From: |
Roman Bolshakov |
Subject: |
[PATCH for-6.0 4/6] softmmu: Remove kvm_available() |
Date: |
Mon, 16 Nov 2020 16:10:09 +0300 |
The function isn't used anywhere after qmp_query_kvm() has been switched
to invoke qmp_query_accel().
Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
---
include/sysemu/arch_init.h | 1 -
softmmu/arch_init.c | 9 ---------
2 files changed, 10 deletions(-)
diff --git a/include/sysemu/arch_init.h b/include/sysemu/arch_init.h
index 54f069d491..b32ce1afa9 100644
--- a/include/sysemu/arch_init.h
+++ b/include/sysemu/arch_init.h
@@ -32,7 +32,6 @@ enum {
extern const uint32_t arch_type;
-int kvm_available(void);
int xen_available(void);
#endif
diff --git a/softmmu/arch_init.c b/softmmu/arch_init.c
index 7fd5c09b2b..56cbe0d3b5 100644
--- a/softmmu/arch_init.c
+++ b/softmmu/arch_init.c
@@ -96,15 +96,6 @@ int graphic_depth = 32;
const uint32_t arch_type = QEMU_ARCH;
-int kvm_available(void)
-{
-#ifdef CONFIG_KVM
- return 1;
-#else
- return 0;
-#endif
-}
-
int xen_available(void)
{
#ifdef CONFIG_XEN
--
2.29.2
- Re: [PATCH for-6.0 1/6] qapi: Add query-accel command, (continued)
- Re: [PATCH for-6.0 1/6] qapi: Add query-accel command, Kevin Wolf, 2020/11/18
- Re: [PATCH for-6.0 1/6] qapi: Add query-accel command, Daniel P . Berrangé, 2020/11/18
- Re: [PATCH for-6.0 1/6] qapi: Add query-accel command, Markus Armbruster, 2020/11/18
- Re: [PATCH for-6.0 1/6] qapi: Add query-accel command, Eduardo Habkost, 2020/11/18
- Re: [PATCH for-6.0 1/6] qapi: Add query-accel command, Eric Blake, 2020/11/18
- Re: [PATCH for-6.0 1/6] qapi: Add query-accel command, Eduardo Habkost, 2020/11/18
- Re: [PATCH for-6.0 1/6] qapi: Add query-accel command, Markus Armbruster, 2020/11/19
[PATCH for-6.0 2/6] qapi: Rename KvmInfo to AccelInfo, Roman Bolshakov, 2020/11/16
[PATCH for-6.0 4/6] softmmu: Remove kvm_available(),
Roman Bolshakov <=
[PATCH for-6.0 3/6] qapi: Use qmp_query_accel() in qmp_query_kvm(), Roman Bolshakov, 2020/11/16
[PATCH for-6.0 6/6] qapi: Deprecate 'query-kvm', Roman Bolshakov, 2020/11/16
- Re: [PATCH for-6.0 6/6] qapi: Deprecate 'query-kvm', Daniel P . Berrangé, 2020/11/27
- Re: [PATCH for-6.0 6/6] qapi: Deprecate 'query-kvm', Peter Krempa, 2020/11/27
- Re: [PATCH for-6.0 6/6] qapi: Deprecate 'query-kvm', Roman Bolshakov, 2020/11/27
- Re: [PATCH for-6.0 6/6] qapi: Deprecate 'query-kvm', Peter Krempa, 2020/11/27
- Re: [PATCH for-6.0 6/6] qapi: Deprecate 'query-kvm', Markus Armbruster, 2020/11/27
- Re: [PATCH for-6.0 6/6] qapi: Deprecate 'query-kvm', Peter Krempa, 2020/11/27
- Re: [PATCH for-6.0 6/6] qapi: Deprecate 'query-kvm', Markus Armbruster, 2020/11/30
- Re: [PATCH for-6.0 6/6] qapi: Deprecate 'query-kvm', Peter Krempa, 2020/11/30