[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 12/16] xen: Remove now-obsolete xen_xc_domain_add_to
From: |
Ian Jackson |
Subject: |
[Qemu-devel] [PATCH 12/16] xen: Remove now-obsolete xen_xc_domain_add_to_physmap |
Date: |
Thu, 19 Apr 2018 17:45:15 +0100 |
The last user was just removed; remove this function, accordingly.
Signed-off-by: Ian Jackson <address@hidden>
---
include/hw/xen/xen_common.h | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/include/hw/xen/xen_common.h b/include/hw/xen/xen_common.h
index 2eed6fc..5f1402b 100644
--- a/include/hw/xen/xen_common.h
+++ b/include/hw/xen/xen_common.h
@@ -645,28 +645,6 @@ static inline int xen_set_ioreq_server_state(domid_t dom,
#endif
-#if CONFIG_XEN_CTRL_INTERFACE_VERSION < 40600
-static inline int xen_xc_domain_add_to_physmap(xc_interface *xch, uint32_t
domid,
- unsigned int space,
- unsigned long idx,
- xen_pfn_t gpfn)
-{
- return xc_domain_add_to_physmap(xch, domid, space, idx, gpfn);
-}
-#else
-static inline int xen_xc_domain_add_to_physmap(xc_interface *xch, uint32_t
domid,
- unsigned int space,
- unsigned long idx,
- xen_pfn_t gpfn)
-{
- /* In Xen 4.6 rc is -1 and errno contains the error value. */
- int rc = xc_domain_add_to_physmap(xch, domid, space, idx, gpfn);
- if (rc == -1)
- return errno;
- return rc;
-}
-#endif
-
#ifdef CONFIG_XEN_PV_DOMAIN_BUILD
#if CONFIG_XEN_CTRL_INTERFACE_VERSION < 40700
static inline int xen_domain_create(xc_interface *xc, uint32_t ssidref,
--
2.1.4
- [Qemu-devel] [PATCH 04/16] xen: restrict: use xentoolcore_restrict_all, (continued)
- [Qemu-devel] [PATCH 04/16] xen: restrict: use xentoolcore_restrict_all, Ian Jackson, 2018/04/19
- [Qemu-devel] [PATCH 07/16] xen: move xc_interface compatibility fallback further up the file, Ian Jackson, 2018/04/19
- [Qemu-devel] [PATCH 09/16] os-posix: cleanup: Replace fprintfs with error_report in change_process_uid, Ian Jackson, 2018/04/19
- [Qemu-devel] [PATCH 14/16] os-posix: cleanup: Replace fprintf with error_report in remaining call sites, Ian Jackson, 2018/04/19
- [Qemu-devel] [PATCH 10/16] os-posix: Provide new -runas <uid>:<gid> facility, Ian Jackson, 2018/04/19
- [Qemu-devel] [PATCH 11/16] xen: Use newly added dmops for mapping VGA memory, Ian Jackson, 2018/04/19
- [Qemu-devel] [PATCH 02/16] AccelClass: Introduce accel_setup_post, Ian Jackson, 2018/04/19
- [Qemu-devel] [PATCH 12/16] xen: Remove now-obsolete xen_xc_domain_add_to_physmap,
Ian Jackson <=
- [Qemu-devel] [PATCH 15/16] os-posix: cleanup: Replace perror with error_report, Ian Jackson, 2018/04/19
- Re: [Qemu-devel] [PATCH 15/16] os-posix: cleanup: Replace perror with error_report, Philippe Mathieu-Daudé, 2018/04/19
- Re: [Qemu-devel] [PATCH 15/16] os-posix: cleanup: Replace perror with error_report, Ian Jackson, 2018/04/24
- Re: [Qemu-devel] [PATCH 15/16] os-posix: cleanup: Replace perror with error_report, Daniel P . Berrangé, 2018/04/24
- Re: [Qemu-devel] [PATCH 15/16] os-posix: cleanup: Replace perror with error_report, Eric Blake, 2018/04/24
- Re: [Qemu-devel] [PATCH 15/16] os-posix: cleanup: Replace perror with error_report, Eric Blake, 2018/04/24
- Re: [Qemu-devel] [PATCH 15/16] os-posix: cleanup: Replace perror with error_report, Daniel P . Berrangé, 2018/04/24
- Re: [Qemu-devel] [PATCH 15/16] os-posix: cleanup: Replace perror with error_report, Markus Armbruster, 2018/04/24
[Qemu-devel] [PATCH 16/16] configure: do_compiler: Dump some extra info under bash, Ian Jackson, 2018/04/19