From nobody Fri May 17 05:26:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1713195809; cv=none; d=zohomail.com; s=zohoarc; b=Dusx/xloZKKYN3/+t97VEo2AMZRAUyz8g5iYDCUjgcVJ+sE61b/wtI1nlGRV+MA1PZDlrnXRvu96KeaBBItb1texisAvkFgjdADMgTKHP8zwbiyqWnRK/WUF49nazdmhAH4fy1X97KuQo7BtF+Bz/0w2j1h9jDkUqj8jOySFos8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1713195809; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=G1RCGR9g9Lr7KYad16REQ3STM1IM5B8gqcK2q8eabvc=; b=ID+9m4MbOmyHf+ypq1Eu+rO5HpqSlUYLOx64BzsBGeGwpfHvNtnP6IBcKYUajOAvvPFq1xV2A3/246x05SNNokV8mt5djNxGdvQUcjW/m5BQXCPaTo+Q2LQbAsr+aKLDS1MASI87zMQ3xCzMwjHBExZRG3B6Dcl1NJjlkJPkTFQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1713195809062668.2533889209407; Mon, 15 Apr 2024 08:43:29 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.706349.1103450 (Exim 4.92) (envelope-from ) id 1rwOU2-0000Np-5D; Mon, 15 Apr 2024 15:43:02 +0000 Received: by outflank-mailman (output) from mailman id 706349.1103450; Mon, 15 Apr 2024 15:43:02 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rwOU2-0000Ni-2O; Mon, 15 Apr 2024 15:43:02 +0000 Received: by outflank-mailman (input) for mailman id 706349; Mon, 15 Apr 2024 15:43:00 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rwOU0-0000NU-RE for xen-devel@lists.xenproject.org; Mon, 15 Apr 2024 15:43:00 +0000 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [2a00:1450:4864:20::636]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id d6612318-fb3e-11ee-b908-491648fe20b8; Mon, 15 Apr 2024 17:42:59 +0200 (CEST) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a526d381d2fso162206866b.0 for ; Mon, 15 Apr 2024 08:42:59 -0700 (PDT) Received: from andrewcoop.citrite.net (default-46-102-197-194.interdsl.co.uk. [46.102.197.194]) by smtp.gmail.com with ESMTPSA id jz1-20020a17090775e100b00a526457fc84sm1987261ejc.57.2024.04.15.08.42.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 08:42:58 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: d6612318-fb3e-11ee-b908-491648fe20b8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1713195779; x=1713800579; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=G1RCGR9g9Lr7KYad16REQ3STM1IM5B8gqcK2q8eabvc=; b=I03GTBf9ovx1iv/AofUKjnnZmHZiJJNKJ2TOhwBFOR6xCmWfB0pLUQU04Su9D1Kl31 6J8jNdREh8XW1zPrbYfgJAkhajHRKxFyyMAbXc0445la7p0QIBdr6SYvVS3ZYwMp7Drk Zf7H4uElHnpNXiVOY+DDc4VxE12SLUZx/Bk4Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713195779; x=1713800579; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G1RCGR9g9Lr7KYad16REQ3STM1IM5B8gqcK2q8eabvc=; b=gZckKY/QAP2BMGImP9CphVwwiOPtC1su9K9TNdUZBWmCOpCCpevju16M3PQ0hKNZX+ +2qzHXshZy5l/Z9oPtKPgBQLVoTK5vwrFEwTiptnUkHymRuWTSmeebVbAzaHEAxHeYXy diMp2ithScTmtkUJ60Wj1OtSyXHvt4PyLvCzE1+1EqbWNAYNYqIBUOQL8soS812/zV0W bjpG1OPlLL656MXjoEg48oAMQUntMDzrvNIGV178OuQVYzNYMSuP2xqHVOtoI9VzzZgT v8SffgHM924vX6s2zDmv/uf85T3squJUJvswRA75SvbF1Q5HSpmbxOyPrrXrrtr1/Yy5 ERVg== X-Gm-Message-State: AOJu0Yzvqa9jfEiZI3I9a1lC1oIH/4TQsqqIXqyGDJvpUclzTTsG+RZe JIPZzJJOI8IT3MUZbrcQZuvEvUj2ukkz5wq7em4CUnKReCd1IyWGuClN7A4TjkMWUVKYkq5GllS viro= X-Google-Smtp-Source: AGHT+IEmcy6eSkqbV4U3jnE0gPcInLxIf23tJp477zNY0F4lOikijgS/GkwONEVwMZThIIXVl8zO1g== X-Received: by 2002:a17:906:7156:b0:a52:2e4f:62f5 with SMTP id z22-20020a170906715600b00a522e4f62f5mr23258ejj.33.1713195779320; Mon, 15 Apr 2024 08:42:59 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , George Dunlap , Jan Beulich , Stefano Stabellini , Julien Grall Subject: [PATCH 1/4] xen/xlat: Sort out whitespace Date: Mon, 15 Apr 2024 16:41:52 +0100 Message-Id: <20240415154155.2718064-2-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240415154155.2718064-1-andrew.cooper3@citrix.com> References: <20240415154155.2718064-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1713195810166100002 Content-Type: text/plain; charset="utf-8" * Fix tabs/spaces mismatch for certain rows * Insert lines between header files to improve legibility Signed-off-by: Andrew Cooper Reviewed-by: Stefano Stabellini --- CC: George Dunlap CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall --- xen/include/xlat.lst | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/xen/include/xlat.lst b/xen/include/xlat.lst index 9c41948514bf..e811342bb096 100644 --- a/xen/include/xlat.lst +++ b/xen/include/xlat.lst @@ -20,19 +20,24 @@ # First column indicator: # ! - needs translation # ? - needs checking + ? dom0_vga_console_info xen.h ? xenctl_bitmap xen.h ? mmu_update xen.h ! mmuext_op xen.h ! start_info xen.h ? vcpu_time_info xen.h + ? pmu_amd_ctxt arch-x86/pmu.h ? pmu_arch arch-x86/pmu.h ? pmu_cntr_pair arch-x86/pmu.h ? pmu_intel_ctxt arch-x86/pmu.h ? pmu_regs arch-x86/pmu.h + ! cpu_user_regs arch-x86/xen-@arch@.h + ! trap_info arch-x86/xen.h + ? cpu_offline_action arch-x86/xen-mca.h ? mc arch-x86/xen-mca.h ? mcinfo_bank arch-x86/xen-mca.h @@ -50,6 +55,7 @@ ? mc_notifydomain arch-x86/xen-mca.h ! mc_physcpuinfo arch-x86/xen-mca.h ? page_offline_action arch-x86/xen-mca.h + ? argo_addr argo.h ! argo_iov argo.h ? argo_register_ring argo.h @@ -59,6 +65,7 @@ ? argo_ring_message_header argo.h ? argo_send_addr argo.h ? argo_unregister_ring argo.h + ? evtchn_alloc_unbound event_channel.h ? evtchn_bind_interdomain event_channel.h ? evtchn_bind_ipi event_channel.h @@ -74,6 +81,7 @@ ? evtchn_set_priority event_channel.h ? evtchn_status event_channel.h ? evtchn_unmask event_channel.h + ? gnttab_cache_flush grant_table.h ! gnttab_copy grant_table.h ? gnttab_dump_table grant_table.h @@ -86,9 +94,10 @@ ? gnttab_get_version grant_table.h ! gnttab_get_status_frames grant_table.h ? grant_entry_v1 grant_table.h -? grant_entry_header grant_table.h +? grant_entry_header grant_table.h ? grant_entry_v2 grant_table.h ? gnttab_swap_grant_ref grant_table.h + ! dm_op_buf hvm/dm_op.h ? dm_op_create_ioreq_server hvm/dm_op.h ? dm_op_destroy_ioreq_server hvm/dm_op.h @@ -108,15 +117,20 @@ ? dm_op_set_pci_intx_level hvm/dm_op.h ? dm_op_set_pci_link_route hvm/dm_op.h ? dm_op_track_dirty_vram hvm/dm_op.h + ! hvm_altp2m_set_mem_access_multi hvm/hvm_op.h + ? vcpu_hvm_context hvm/hvm_vcpu.h ? vcpu_hvm_x86_32 hvm/hvm_vcpu.h ? vcpu_hvm_x86_64 hvm/hvm_vcpu.h + ? hypfs_direntry hypfs.h ? hypfs_dirlistentry hypfs.h + ? kexec_exec kexec.h ! kexec_image kexec.h ! kexec_range kexec.h + ! add_to_physmap memory.h ! add_to_physmap_batch memory.h ! foreign_memory_map memory.h @@ -130,6 +144,7 @@ ! reserved_device_memory_map memory.h ? vmemrange memory.h ! vnuma_topology_info memory.h + ? physdev_eoi physdev.h ? physdev_get_free_pirq physdev.h ? physdev_irq physdev.h @@ -143,6 +158,7 @@ ? physdev_restore_msi physdev.h ? physdev_set_iopl physdev.h ? physdev_setup_gsi physdev.h + ! pct_register platform.h ! power_register platform.h ? processor_csd platform.h @@ -158,23 +174,30 @@ ? xenpf_pcpu_version platform.h ? xenpf_resource_entry platform.h ? xenpf_ucode_revision platform.h + ? pmu_data pmu.h ? pmu_params pmu.h + ! sched_poll sched.h ? sched_pin_override sched.h ? sched_remote_shutdown sched.h ? sched_shutdown sched.h + ? t_buf trace.h + ? vcpu_get_physid vcpu.h ? vcpu_register_vcpu_info vcpu.h ! vcpu_runstate_info vcpu.h ? vcpu_set_periodic_timer vcpu.h ! vcpu_set_singleshot_timer vcpu.h -? build_id version.h -? compile_info version.h -? feature_info version.h + +? build_id version.h +? compile_info version.h +? feature_info version.h + ? xenoprof_init xenoprof.h ? xenoprof_passive xenoprof.h + ? flask_access xsm/flask_op.h ? flask_cache_stats xsm/flask_op.h ? flask_hash_stats xsm/flask_op.h base-commit: c0f890cd9d5fd2c17a1e3110cb26f98c90ce8429 --=20 2.30.2 From nobody Fri May 17 05:26:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1713195805; cv=none; d=zohomail.com; s=zohoarc; b=B1Ydm0x+pR/Klv4U/PWEAlnPT+luDJstGkNquu60t8tOgEYtCP7GGCB8E9zkTcLmO0G7YpNLuwXsKFG8INZ8cuRKACVcRybq+aHrmTl0ztxVlBjSJnIzsGDrccJ/D0ddHxkg5TShKV8IfHjOTV+KVfv9mrlER6TDnyvK06SH4vA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1713195805; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=KpgVZvqhPT4WIEsac/Wg+IgEeBJYELSXisBygmL+81k=; b=lmxP+VK6LC65e9R4lmWX0wA981rXY1h4D5KWkDh51Hbo6Q3CAp+oDVbG9KwWTXKV6q7fAJRw78bjjYFyK3+DkX15sGRoMh12gJgFAbWoaYyiS+XFYeIA0K87JWsU1aFKk0P9l07l5U+DFNcvlP0ykXRm6Dgu/xWmloqsThOeHUI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1713195805615123.6935685818014; Mon, 15 Apr 2024 08:43:25 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.706350.1103455 (Exim 4.92) (envelope-from ) id 1rwOU2-0000Qt-ER; Mon, 15 Apr 2024 15:43:02 +0000 Received: by outflank-mailman (output) from mailman id 706350.1103455; Mon, 15 Apr 2024 15:43:02 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rwOU2-0000QJ-9y; Mon, 15 Apr 2024 15:43:02 +0000 Received: by outflank-mailman (input) for mailman id 706350; Mon, 15 Apr 2024 15:43:01 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rwOU1-0000NU-Gr for xen-devel@lists.xenproject.org; Mon, 15 Apr 2024 15:43:01 +0000 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [2a00:1450:4864:20::12e]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id d6ff518d-fb3e-11ee-b908-491648fe20b8; Mon, 15 Apr 2024 17:43:00 +0200 (CEST) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-518a56cdc03so2156406e87.1 for ; Mon, 15 Apr 2024 08:43:00 -0700 (PDT) Received: from andrewcoop.citrite.net (default-46-102-197-194.interdsl.co.uk. [46.102.197.194]) by smtp.gmail.com with ESMTPSA id jz1-20020a17090775e100b00a526457fc84sm1987261ejc.57.2024.04.15.08.42.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 08:42:59 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: d6ff518d-fb3e-11ee-b908-491648fe20b8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1713195780; x=1713800580; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KpgVZvqhPT4WIEsac/Wg+IgEeBJYELSXisBygmL+81k=; b=WmSxbQCl7Qkn9XxhzYpMW3A2zS/3uFSxJMInffD5vaK4/Qf34L4WrrahTDki170oUS YPeTqwqdRvDhK0vu3Nz04Mr71AW2QvCWzYBCTvopIrn6yFy9q6e8LdBTN78j+yvns444 IasZ9QJDMlaJqJmaj7sU3/YqrAkqbIxJPtaJo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713195780; x=1713800580; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KpgVZvqhPT4WIEsac/Wg+IgEeBJYELSXisBygmL+81k=; b=njXLA4PJ+AxLsemszhBF/08V85a9GFdMmUq64JIlC8akgTxTmV/xuRjQ/DuP54aLV1 KuxNF57RYHFPkNobLTRtTFQPe7voCYwui2wqbkqxDwpMLsF4IC5Yt+3DqbphacUxYeOo k0L+J8U3RNduOKJ/NVb0FUjGpcUEqgy8nnYtHbzg+vc3ycM67kDM20A1SpLwn6/gOPhH auRaQ4YwtixLvygb8zcGflifm1fdQfYQFB91sAhgjcX3u3H4W9L5xhlAuBATO9H4nz8t tInCNSUeXTo5gzmJvOCODTFZLSDZ6e0zj9EbtrmrxOiTeRGV561hOGtTHZ0A76oSUxcN LLzQ== X-Gm-Message-State: AOJu0YyEp3Gqob70wf8qULVXL3w9COX8xKA15ICgIxp6erNq3zjj//9G Vomg+T/1uizLpUmQA9DFlYunA64cLj/AriXVkZ2heA8rhZC7BVCc/5TzAkJwDu1Mvk/8qNLuN40 XqAc= X-Google-Smtp-Source: AGHT+IFTQlwoceTmwRCqmdPei0ogfxvb2temagQmdilUfn4ayRUbDk/NyhxitZnuNLs4/rLuDpCNBg== X-Received: by 2002:a19:6b19:0:b0:518:95b6:176f with SMTP id d25-20020a196b19000000b0051895b6176fmr5057542lfa.50.1713195780133; Mon, 15 Apr 2024 08:43:00 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , George Dunlap , Jan Beulich , Stefano Stabellini , Julien Grall Subject: [PATCH 2/4] xen/xlat: Sort structs per file Date: Mon, 15 Apr 2024 16:41:53 +0100 Message-Id: <20240415154155.2718064-3-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240415154155.2718064-1-andrew.cooper3@citrix.com> References: <20240415154155.2718064-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1713195805930100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Andrew Cooper Reviewed-by: Stefano Stabellini --- CC: George Dunlap CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall --- xen/include/xlat.lst | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/xen/include/xlat.lst b/xen/include/xlat.lst index e811342bb096..b3befd9cc113 100644 --- a/xen/include/xlat.lst +++ b/xen/include/xlat.lst @@ -22,11 +22,11 @@ # ? - needs checking =20 ? dom0_vga_console_info xen.h -? xenctl_bitmap xen.h ? mmu_update xen.h ! mmuext_op xen.h ! start_info xen.h ? vcpu_time_info xen.h +? xenctl_bitmap xen.h =20 ? pmu_amd_ctxt arch-x86/pmu.h ? pmu_arch arch-x86/pmu.h @@ -40,13 +40,6 @@ =20 ? cpu_offline_action arch-x86/xen-mca.h ? mc arch-x86/xen-mca.h -? mcinfo_bank arch-x86/xen-mca.h -? mcinfo_common arch-x86/xen-mca.h -? mcinfo_extended arch-x86/xen-mca.h -? mcinfo_global arch-x86/xen-mca.h -? mcinfo_logical_cpu arch-x86/xen-mca.h -? mcinfo_msr arch-x86/xen-mca.h -? mcinfo_recovery arch-x86/xen-mca.h ! mc_fetch arch-x86/xen-mca.h ? mc_info arch-x86/xen-mca.h ? mc_inject_v2 arch-x86/xen-mca.h @@ -54,6 +47,13 @@ ? mc_msrinject arch-x86/xen-mca.h ? mc_notifydomain arch-x86/xen-mca.h ! mc_physcpuinfo arch-x86/xen-mca.h +? mcinfo_bank arch-x86/xen-mca.h +? mcinfo_common arch-x86/xen-mca.h +? mcinfo_extended arch-x86/xen-mca.h +? mcinfo_global arch-x86/xen-mca.h +? mcinfo_logical_cpu arch-x86/xen-mca.h +? mcinfo_msr arch-x86/xen-mca.h +? mcinfo_recovery arch-x86/xen-mca.h ? page_offline_action arch-x86/xen-mca.h =20 ? argo_addr argo.h @@ -85,18 +85,18 @@ ? gnttab_cache_flush grant_table.h ! gnttab_copy grant_table.h ? gnttab_dump_table grant_table.h +! gnttab_get_status_frames grant_table.h +? gnttab_get_version grant_table.h ? gnttab_map_grant_ref grant_table.h +? gnttab_set_version grant_table.h ! gnttab_setup_table grant_table.h +? gnttab_swap_grant_ref grant_table.h ! gnttab_transfer grant_table.h -? gnttab_unmap_grant_ref grant_table.h ? gnttab_unmap_and_replace grant_table.h -? gnttab_set_version grant_table.h -? gnttab_get_version grant_table.h -! gnttab_get_status_frames grant_table.h -? grant_entry_v1 grant_table.h +? gnttab_unmap_grant_ref grant_table.h ? grant_entry_header grant_table.h +? grant_entry_v1 grant_table.h ? grant_entry_v2 grant_table.h -? gnttab_swap_grant_ref grant_table.h =20 ! dm_op_buf hvm/dm_op.h ? dm_op_create_ioreq_server hvm/dm_op.h @@ -134,11 +134,11 @@ ! add_to_physmap memory.h ! add_to_physmap_batch memory.h ! foreign_memory_map memory.h +! mem_access_op memory.h +! mem_acquire_resource memory.h ! memory_exchange memory.h ! memory_map memory.h ! memory_reservation memory.h -! mem_access_op memory.h -! mem_acquire_resource memory.h ! pod_target memory.h ! remove_from_physmap memory.h ! reserved_device_memory_map memory.h @@ -154,10 +154,10 @@ ? physdev_pci_device physdev.h ? physdev_pci_device_add physdev.h ? physdev_pci_mmcfg_reserved physdev.h -? physdev_unmap_pirq physdev.h ? physdev_restore_msi physdev.h ? physdev_set_iopl physdev.h ? physdev_setup_gsi physdev.h +? physdev_unmap_pirq physdev.h =20 ! pct_register platform.h ! power_register platform.h @@ -169,17 +169,17 @@ ? processor_px platform.h ! psd_package platform.h ? xenpf_enter_acpi_sleep platform.h -! xenpf_symdata platform.h -? xenpf_pcpuinfo platform.h ? xenpf_pcpu_version platform.h +? xenpf_pcpuinfo platform.h ? xenpf_resource_entry platform.h +! xenpf_symdata platform.h ? xenpf_ucode_revision platform.h =20 ? pmu_data pmu.h ? pmu_params pmu.h =20 -! sched_poll sched.h ? sched_pin_override sched.h +! sched_poll sched.h ? sched_remote_shutdown sched.h ? sched_shutdown sched.h =20 --=20 2.30.2 From nobody Fri May 17 05:26:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1713195807; cv=none; d=zohomail.com; s=zohoarc; b=B25So3AqG99F7dzbIDHgnafO633zDP99StYdBP971WzK3WC3j5y+/UMjR/hmklZPGEye1+Iq0exASLqYxgaDJJHBxruOmHDrAcrnJFm/PmQIxycqfiBiixyop0IcdA4EVj84T+trWQgvcK8w9nCLMZH43VegDlRqDWbJnTobjnQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1713195807; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=4BacL8QB7ZWP7TY5BHnn9lSxgM8xcnJnilaGER3YBeY=; b=A7UihJVDHjLRJJs6+989PTzr92e1GBu0bzaloolZx6f2qSk1syvCW0Z7jGZOWgqN25jzL3UpA923VP7vBLdtlRE6NkhJtFyBmbvSVtUHt/Y6qwefHb5IyCX4DE+MvbcOdbkUCTcmVh/3YiPq8rCQVFMorPl0Hu8VXQVvihNghO8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1713195807558249.5111445089259; Mon, 15 Apr 2024 08:43:27 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.706351.1103470 (Exim 4.92) (envelope-from ) id 1rwOU5-0000t7-Ni; Mon, 15 Apr 2024 15:43:05 +0000 Received: by outflank-mailman (output) from mailman id 706351.1103470; Mon, 15 Apr 2024 15:43:05 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rwOU5-0000t0-Jg; Mon, 15 Apr 2024 15:43:05 +0000 Received: by outflank-mailman (input) for mailman id 706351; Mon, 15 Apr 2024 15:43:02 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rwOU2-0000NU-H7 for xen-devel@lists.xenproject.org; Mon, 15 Apr 2024 15:43:02 +0000 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [2a00:1450:4864:20::631]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id d766b22e-fb3e-11ee-b908-491648fe20b8; Mon, 15 Apr 2024 17:43:01 +0200 (CEST) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a51a7d4466bso385856466b.2 for ; Mon, 15 Apr 2024 08:43:01 -0700 (PDT) Received: from andrewcoop.citrite.net (default-46-102-197-194.interdsl.co.uk. [46.102.197.194]) by smtp.gmail.com with ESMTPSA id jz1-20020a17090775e100b00a526457fc84sm1987261ejc.57.2024.04.15.08.43.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 08:43:00 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: d766b22e-fb3e-11ee-b908-491648fe20b8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1713195781; x=1713800581; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4BacL8QB7ZWP7TY5BHnn9lSxgM8xcnJnilaGER3YBeY=; b=S5pW7g21FrdgTExQ0+kWvzsRwbYAnKuAQA7lI3Pk6jp6U2821A7cmHW+Sqe/PZTLyt j9bjJekwvFVAbBw2UB0R/Pp74+zrKx40BdWtsgxpBQKVQ+EeW28VTkW7MtzQfOnMH7p2 xRxUas7mkBeKy1ePuu+J8CMPVSBbEzdfgsmhI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713195781; x=1713800581; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4BacL8QB7ZWP7TY5BHnn9lSxgM8xcnJnilaGER3YBeY=; b=ocmupnFAUKK7Iqr8WfeY3KET0xkodkq7GqczS5cf1X9rcAoIatUYCLcxRdVW1/SmJE CI5XbJF4Dw7Y/WrRW+EBskIGH0ULhfEzWoMsJmbvQqGGr6cHdmiBhazadEz6yPes8KEV Ecp0rXh4T0YjtrYBogXmHq9cl04Q5Pmd8Jc2lHodOAfoRz1iJzXTrA90+rqUGDtVPFEL 8MOlJ5mEGKHLW1Pg5xC4S+hake/895DCyND1em4nhYLC0sDKRVn0KyLSXg4w4udHfBu6 Q/WtN/F3xMwPHFJShsIyX/H6gV+5hyTfBsCzWL9dEhnvWFO8p/ZD6dcbwESqdwbPqMne wATg== X-Gm-Message-State: AOJu0YyU2H0onVinGJU8QiwMWNxf3u9F+y37WFxW9NboSQRSkT7+QTdd FLJHkIArPniiuQ71Iaj7ki+ulCg9r+Sydm2LH188HnaXqyErwVFtjIyskzk3lYnyRLHVdeYFbVp u0ko= X-Google-Smtp-Source: AGHT+IHPz7GVUB+XTlypiLu1c10rF57FJ4U4D8ixvfZxpXBt7kQI+18aXvdN+HDsFCKk62mq/iTuYA== X-Received: by 2002:a17:906:254c:b0:a51:a06e:afd1 with SMTP id j12-20020a170906254c00b00a51a06eafd1mr6141580ejb.23.1713195781048; Mon, 15 Apr 2024 08:43:01 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , George Dunlap , Jan Beulich , Stefano Stabellini , Julien Grall Subject: [PATCH 3/4] xen/gnttab: Perform compat/native gnttab_query_size check Date: Mon, 15 Apr 2024 16:41:54 +0100 Message-Id: <20240415154155.2718064-4-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240415154155.2718064-1-andrew.cooper3@citrix.com> References: <20240415154155.2718064-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1713195807944100003 Content-Type: text/plain; charset="utf-8" This subop appears to have been missed from the compat checks. Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich --- CC: George Dunlap CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall --- xen/common/compat/grant_table.c | 4 ++++ xen/include/xlat.lst | 1 + 2 files changed, 5 insertions(+) diff --git a/xen/common/compat/grant_table.c b/xen/common/compat/grant_tabl= e.c index af98eade17c9..8a754055576b 100644 --- a/xen/common/compat/grant_table.c +++ b/xen/common/compat/grant_table.c @@ -30,6 +30,10 @@ CHECK_gnttab_unmap_grant_ref; CHECK_gnttab_unmap_and_replace; #undef xen_gnttab_unmap_and_replace =20 +#define xen_gnttab_query_size gnttab_query_size +CHECK_gnttab_query_size; +#undef xen_gnttab_query_size + DEFINE_XEN_GUEST_HANDLE(gnttab_setup_table_compat_t); DEFINE_XEN_GUEST_HANDLE(gnttab_transfer_compat_t); DEFINE_XEN_GUEST_HANDLE(gnttab_copy_compat_t); diff --git a/xen/include/xlat.lst b/xen/include/xlat.lst index b3befd9cc113..53a1bdfc533f 100644 --- a/xen/include/xlat.lst +++ b/xen/include/xlat.lst @@ -88,6 +88,7 @@ ! gnttab_get_status_frames grant_table.h ? gnttab_get_version grant_table.h ? gnttab_map_grant_ref grant_table.h +? gnttab_query_size grant_table.h ? gnttab_set_version grant_table.h ! gnttab_setup_table grant_table.h ? gnttab_swap_grant_ref grant_table.h --=20 2.30.2 From nobody Fri May 17 05:26:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1713195808; cv=none; d=zohomail.com; s=zohoarc; b=m5U8ULCt2G6yFXZV3Fj2wFWgESWMN83cr1lsZRj83upcsWlOZxMSPymd3exZp6ORu2uY4NUuqyMze83oh8YfuzejqLp3zmAT4UYs3qxYdyo1k5e+Frtanit3u5GisnCjsnMVc1MBS/YMDLvYOGKjwUbabO3M4qhpAldrel9ft7c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1713195808; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=KwG/SvK+aur9Ak8+5b+UV8UOo2svZqs0RzBYX+mlEmk=; b=UksEy+E8nnswyvrMxvMiflqKM3fErAQJdm1KWZpPmQWdFhAmFFgrSZlv5uH952yehPg7HB4Zq2H5YO0eWwxtWoGn6QMm/b8fZKlqyFq6uAl8e+8+v+DUqWPgunPydiLAZ/a4M0HiQNg0Ljijd4DRCI/j+MkkBd5ejbSO/UU1kRE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1713195808121967.8169171098222; Mon, 15 Apr 2024 08:43:28 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.706353.1103481 (Exim 4.92) (envelope-from ) id 1rwOU6-00012z-Eo; Mon, 15 Apr 2024 15:43:06 +0000 Received: by outflank-mailman (output) from mailman id 706353.1103481; Mon, 15 Apr 2024 15:43:06 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rwOU6-00011k-7Y; Mon, 15 Apr 2024 15:43:06 +0000 Received: by outflank-mailman (input) for mailman id 706353; Mon, 15 Apr 2024 15:43:04 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rwOU4-0000Nb-FT for xen-devel@lists.xenproject.org; Mon, 15 Apr 2024 15:43:04 +0000 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [2a00:1450:4864:20::636]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id d816c462-fb3e-11ee-94a3-07e782e9044d; Mon, 15 Apr 2024 17:43:02 +0200 (CEST) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a51a1c8d931so433377066b.0 for ; Mon, 15 Apr 2024 08:43:02 -0700 (PDT) Received: from andrewcoop.citrite.net (default-46-102-197-194.interdsl.co.uk. [46.102.197.194]) by smtp.gmail.com with ESMTPSA id jz1-20020a17090775e100b00a526457fc84sm1987261ejc.57.2024.04.15.08.43.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 08:43:01 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: d816c462-fb3e-11ee-94a3-07e782e9044d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1713195782; x=1713800582; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KwG/SvK+aur9Ak8+5b+UV8UOo2svZqs0RzBYX+mlEmk=; b=cSap+eBzM4wuLz1xzGg2b6LMSWdzJ6spEEbH7O38LUPvurWI7dwaWJXPfrRbwYo+wd NjsrsAm2/Hdg0MToTM7zMYNmM9KPLqq9x6xzHWhEvBAoxwp5aFpBUU6YfS9ZlFLklv3S /GZ7RsIm+UO69br4eUW6ar6tHsqjlw6Cj2exQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713195782; x=1713800582; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KwG/SvK+aur9Ak8+5b+UV8UOo2svZqs0RzBYX+mlEmk=; b=wJxvUGhAe8zzxI++kVQp2MdnphLWRgG9RJTarKQSqnoZLQ8IamEbUYtKJiJX032j+D YdcKq5jlWQWifqk2Q7uD35TTUcTzp9ri06n5YacKPemBBKx25/HFxqFhgukBi096SFw9 Sjl96iLgbt3SGU6YxsRYRKVJDpT4v5b9k9ZEzbemPaVmsYG/qi8Y8odopYrBjXaoSQG5 YJgisLd7OgA/ft0MayWijEZAWB156jqC0ChfF0ONBA+a5EyQTpvmWUq/XJyUrLavGoSC oL+b8sv5nvVFGj/9NwcDTmbiMafTqGm0KEfdrSN0nLMTcwv/hjpP/yKQNiodSSMqnVq+ +8kA== X-Gm-Message-State: AOJu0YwAzuLMDhSZlRJL3IiVxUhVwUveieo2kKn2SAqHi+9sZOtKzdIS XZ+5wVCxVwPDr2B1/347VddB4Pie9Cpa4XPq47cN/LLGC+cFMiDi9MXMAizd6DRkDj3u0SiPewR wBlo= X-Google-Smtp-Source: AGHT+IFMRTgoBO75/F6759VTwv2svqgv1NIVz46T3NVo7ac4Ptoecbeo+nDmHrqX5jUOSMk/mP+cCw== X-Received: by 2002:a17:907:d2a:b0:a52:2f19:f1d7 with SMTP id gn42-20020a1709070d2a00b00a522f19f1d7mr7217919ejc.53.1713195781801; Mon, 15 Apr 2024 08:43:01 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , George Dunlap , Jan Beulich , Stefano Stabellini , Julien Grall Subject: [PATCH 4/4] xen/public: Use -Wpadding for public headers Date: Mon, 15 Apr 2024 16:41:55 +0100 Message-Id: <20240415154155.2718064-5-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240415154155.2718064-1-andrew.cooper3@citrix.com> References: <20240415154155.2718064-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1713195810159100001 Content-Type: text/plain; charset="utf-8" RFC. In theory this is a great way to avoid some of the spiketraps involved with C being the official representation. However, this doesn't build. gnttab_transfer has a layout that requires a CONFIG_COMPAT if we want to satisfy -Wpadding for both forms of the structu= re. Thoughts on whether this cross-check is worthwhile-enough to warrant the ifdefary? ~Andrew --- CC: George Dunlap CC: Jan Beulich CC: Stefano Stabellini CC: Julien Grall --- xen/common/Makefile | 1 + xen/common/hdr-chk.c | 13 +++++++++++++ xen/include/public/grant_table.h | 7 +++++++ 3 files changed, 21 insertions(+) create mode 100644 xen/common/hdr-chk.c diff --git a/xen/common/Makefile b/xen/common/Makefile index d512cad5243f..dbbda70829f1 100644 --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -15,6 +15,7 @@ obj-y +=3D event_fifo.o obj-$(CONFIG_GRANT_TABLE) +=3D grant_table.o obj-y +=3D guestcopy.o obj-y +=3D gzip/ +obj-y +=3D hdr-chk.o obj-$(CONFIG_HYPFS) +=3D hypfs.o obj-$(CONFIG_IOREQ_SERVER) +=3D ioreq.o obj-y +=3D irq.o diff --git a/xen/common/hdr-chk.c b/xen/common/hdr-chk.c new file mode 100644 index 000000000000..1c7a509dcd06 --- /dev/null +++ b/xen/common/hdr-chk.c @@ -0,0 +1,13 @@ +#include + +#include + +#pragma GCC diagnostic error "-Wpadded" + +#include + +#ifdef CONFIG_COMPAT + +#include + +#endif /* CONFIG_COMPAT */ diff --git a/xen/include/public/grant_table.h b/xen/include/public/grant_ta= ble.h index 1dfa17a6d02a..a66c77d0166c 100644 --- a/xen/include/public/grant_table.h +++ b/xen/include/public/grant_table.h @@ -355,6 +355,7 @@ struct gnttab_unmap_grant_ref { grant_handle_t handle; /* OUT parameters. */ int16_t status; /* =3D> enum grant_status */ + uint16_t _pad0; }; typedef struct gnttab_unmap_grant_ref gnttab_unmap_grant_ref_t; DEFINE_XEN_GUEST_HANDLE(gnttab_unmap_grant_ref_t); @@ -371,6 +372,7 @@ DEFINE_XEN_GUEST_HANDLE(gnttab_unmap_grant_ref_t); struct gnttab_setup_table { /* IN parameters. */ domid_t dom; + uint16_t _pad0; uint32_t nr_frames; /* OUT parameters. */ int16_t status; /* =3D> enum grant_status */ @@ -409,9 +411,12 @@ struct gnttab_transfer { /* IN parameters. */ xen_pfn_t mfn; domid_t domid; + uint16_t _pad0; grant_ref_t ref; /* OUT parameters. */ int16_t status; + uint16_t _pad1; + /* XXX compat-dependent padding. */ }; typedef struct gnttab_transfer gnttab_transfer_t; DEFINE_XEN_GUEST_HANDLE(gnttab_transfer_t); @@ -468,10 +473,12 @@ DEFINE_XEN_GUEST_HANDLE(gnttab_copy_t); struct gnttab_query_size { /* IN parameters. */ domid_t dom; + uint16_t _ign1; /* OUT parameters. */ uint32_t nr_frames; uint32_t max_nr_frames; int16_t status; /* =3D> enum grant_status */ + uint16_t _ign2; }; typedef struct gnttab_query_size gnttab_query_size_t; DEFINE_XEN_GUEST_HANDLE(gnttab_query_size_t); --=20 2.30.2