[Qemu-devel] [PATCH] configure: xen: Stop build-testing for xc_domain_create

Anthony PERARD posted 1 patch 6 years, 9 months ago
Test asan passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190121170713.11906-1-anthony.perard@citrix.com
configure | 19 -------------------
1 file changed, 19 deletions(-)
[Qemu-devel] [PATCH] configure: xen: Stop build-testing for xc_domain_create
Posted by Anthony PERARD 6 years, 9 months ago
Its last uses was removed by: 6d7c06c213ddcfabcafdc178ccef81736f85a7c2
"Remove broken Xen PV domain builder".

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 configure | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/configure b/configure
index 98b270974d..8684a6e5ef 100755
--- a/configure
+++ b/configure
@@ -2469,7 +2469,6 @@ int main(void) {
   xenforeignmemory_handle *xfmem;
   xenevtchn_handle *xe;
   xengnttab_handle *xg;
-  xen_domain_handle_t handle;
   xengnttab_grant_copy_segment_t* seg = NULL;
 
   xs_daemon_open();
@@ -2479,7 +2478,6 @@ int main(void) {
   xc_domain_add_to_physmap(0, 0, XENMAPSPACE_gmfn, 0, 0);
   xc_hvm_inject_msi(xc, 0, 0xf0000000, 0x00000000);
   xc_hvm_create_ioreq_server(xc, 0, HVM_IOREQSRV_BUFIOREQ_ATOMIC, NULL);
-  xc_domain_create(xc, 0, handle, 0, NULL, NULL);
 
   xfmem = xenforeignmemory_open(0, 0);
   xenforeignmemory_map(xfmem, 0, 0, 0, 0, 0);
@@ -2521,7 +2519,6 @@ int main(void) {
   xenforeignmemory_handle *xfmem;
   xenevtchn_handle *xe;
   xengnttab_handle *xg;
-  xen_domain_handle_t handle;
 
   xs_daemon_open();
 
@@ -2530,7 +2527,6 @@ int main(void) {
   xc_domain_add_to_physmap(0, 0, XENMAPSPACE_gmfn, 0, 0);
   xc_hvm_inject_msi(xc, 0, 0xf0000000, 0x00000000);
   xc_hvm_create_ioreq_server(xc, 0, HVM_IOREQSRV_BUFIOREQ_ATOMIC, NULL);
-  xc_domain_create(xc, 0, handle, 0, NULL, NULL);
 
   xfmem = xenforeignmemory_open(0, 0);
   xenforeignmemory_map(xfmem, 0, 0, 0, 0, 0);
@@ -2548,21 +2544,6 @@ EOF
       then
       xen_ctrl_version=40701
       xen=yes
-    elif
-        cat > $TMPC <<EOF &&
-#include <xenctrl.h>
-#include <stdint.h>
-int main(void) {
-  xc_interface *xc = NULL;
-  xen_domain_handle_t handle;
-  xc_domain_create(xc, 0, handle, 0, NULL, NULL);
-  return 0;
-}
-EOF
-        compile_prog "" "$xen_libs"
-      then
-      xen_ctrl_version=40700
-      xen=yes
 
     # Xen 4.6
     elif
-- 
Anthony PERARD


Re: [Qemu-devel] [PATCH] configure: xen: Stop build-testing for xc_domain_create
Posted by Paul Durrant 6 years, 9 months ago
> -----Original Message-----
> From: Anthony PERARD [mailto:anthony.perard@citrix.com]
> Sent: 21 January 2019 17:07
> To: qemu-devel@nongnu.org
> Cc: Stefano Stabellini <sstabellini@kernel.org>; Paul Durrant
> <Paul.Durrant@citrix.com>; xen-devel@lists.xenproject.org; Anthony Perard
> <anthony.perard@citrix.com>
> Subject: [PATCH] configure: xen: Stop build-testing for xc_domain_create
> 
> Its last uses was removed by: 6d7c06c213ddcfabcafdc178ccef81736f85a7c2
> "Remove broken Xen PV domain builder".
> 
> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>

Reviewed-by: Paul Durrant <paul.durrant@citrix.com>

> ---
>  configure | 19 -------------------
>  1 file changed, 19 deletions(-)
> 
> diff --git a/configure b/configure
> index 98b270974d..8684a6e5ef 100755
> --- a/configure
> +++ b/configure
> @@ -2469,7 +2469,6 @@ int main(void) {
>    xenforeignmemory_handle *xfmem;
>    xenevtchn_handle *xe;
>    xengnttab_handle *xg;
> -  xen_domain_handle_t handle;
>    xengnttab_grant_copy_segment_t* seg = NULL;
> 
>    xs_daemon_open();
> @@ -2479,7 +2478,6 @@ int main(void) {
>    xc_domain_add_to_physmap(0, 0, XENMAPSPACE_gmfn, 0, 0);
>    xc_hvm_inject_msi(xc, 0, 0xf0000000, 0x00000000);
>    xc_hvm_create_ioreq_server(xc, 0, HVM_IOREQSRV_BUFIOREQ_ATOMIC, NULL);
> -  xc_domain_create(xc, 0, handle, 0, NULL, NULL);
> 
>    xfmem = xenforeignmemory_open(0, 0);
>    xenforeignmemory_map(xfmem, 0, 0, 0, 0, 0);
> @@ -2521,7 +2519,6 @@ int main(void) {
>    xenforeignmemory_handle *xfmem;
>    xenevtchn_handle *xe;
>    xengnttab_handle *xg;
> -  xen_domain_handle_t handle;
> 
>    xs_daemon_open();
> 
> @@ -2530,7 +2527,6 @@ int main(void) {
>    xc_domain_add_to_physmap(0, 0, XENMAPSPACE_gmfn, 0, 0);
>    xc_hvm_inject_msi(xc, 0, 0xf0000000, 0x00000000);
>    xc_hvm_create_ioreq_server(xc, 0, HVM_IOREQSRV_BUFIOREQ_ATOMIC, NULL);
> -  xc_domain_create(xc, 0, handle, 0, NULL, NULL);
> 
>    xfmem = xenforeignmemory_open(0, 0);
>    xenforeignmemory_map(xfmem, 0, 0, 0, 0, 0);
> @@ -2548,21 +2544,6 @@ EOF
>        then
>        xen_ctrl_version=40701
>        xen=yes
> -    elif
> -        cat > $TMPC <<EOF &&
> -#include <xenctrl.h>
> -#include <stdint.h>
> -int main(void) {
> -  xc_interface *xc = NULL;
> -  xen_domain_handle_t handle;
> -  xc_domain_create(xc, 0, handle, 0, NULL, NULL);
> -  return 0;
> -}
> -EOF
> -        compile_prog "" "$xen_libs"
> -      then
> -      xen_ctrl_version=40700
> -      xen=yes
> 
>      # Xen 4.6
>      elif
> --
> Anthony PERARD