From patchwork Thu Jun 23 03:16:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 70708 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp217229qgy; Wed, 22 Jun 2016 20:20:22 -0700 (PDT) X-Received: by 10.107.182.136 with SMTP id g130mr31946625iof.27.1466652022623; Wed, 22 Jun 2016 20:20:22 -0700 (PDT) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id n5si5287773ioo.185.2016.06.22.20.20.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jun 2016 20:20:22 -0700 (PDT) Received-SPF: neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=192.237.175.120; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFv9a-0000Ai-Is; Thu, 23 Jun 2016 03:18:06 +0000 Received: from mail6.bemta6.messagelabs.com ([85.158.143.247]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFv9Z-00009a-DK for xen-devel@lists.xen.org; Thu, 23 Jun 2016 03:18:05 +0000 Received: from [85.158.143.35] by server-2.bemta-6.messagelabs.com id 86/6F-11548-CE45B675; Thu, 23 Jun 2016 03:18:04 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMIsWRWlGSWpSXmKPExsVSPpHPSfdNSHa 4waIt4hZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8aX209YC46wVhzcu4SxgfEiSxcjF4eQwBlG iZb/v5kgnD2MEiv6DjN2MXJysAnoSnzcOIUdxBYRkJVY3TWHHaSIWeA6o8Sd99tYQRLCAv4S3 38+ZwGxWQRUJQ7fXAwW5xVwl2ha8xosLiGgIbGydwKYzSngIXFy1hNmEFsIqGbOmr0sEPWCEi dnPgGzmQUkJA6+eMEM0aso0bb+JBuELSlxcMUNqJmnGCU6JgdB2KYS325dZJnAKDgLyahZSEY tYGRaxahenFpUllqka6yXVJSZnlGSm5iZo2toYKaXm1pcnJiempOYVKyXnJ+7iREYoAxAsIOx 45/TIUZJDiYlUV4rh+xwIb6k/JTKjMTijPii0pzU4kOMMhwcShK8GsCAFxIsSk1PrUjLzAHGC kxagoNHSYTXGSTNW1yQmFucmQ6ROsWoy7Hgx+21TEIsefl5qVLivNYgRQIgRRmleXAjYHF7iV FWSpiXEegoIZ6C1KLczBJU+VeM4hyMSsK894KBpvBk5pXAbXoFdAQT0BHL+tNBjihJREhJNTC 2KjtM9LXQiTE5tG9RYNT3yDYzh2xZj63HF7+xlfjS/e7/e+Nt04tf/BN6rqETJSAb8visCcPe ysYFG5j/vTralPPq0fnm4kLDZc+zt9p/TWjjrX2zKLrW4cWSJXZCcXVr1+aLBvTuv6P5vK2gN uaI7YEbYc/PejB5JRRkbH94PsfGXbO24boSS3FGoqEWc1FxIgATv5wR1gIAAA== X-Env-Sender: zhaoshenglong@huawei.com X-Msg-Ref: server-5.tower-21.messagelabs.com!1466651880!20363428!1 X-Originating-IP: [119.145.14.66] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTE5LjE0NS4xNC42NiA9PiA4NTI3\n X-StarScan-Received: X-StarScan-Version: 8.46; banners=-,-,- X-VirusChecked: Checked Received: (qmail 41476 invoked from network); 23 Jun 2016 03:18:04 -0000 Received: from szxga03-in.huawei.com (HELO szxga03-in.huawei.com) (119.145.14.66) by server-5.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 23 Jun 2016 03:18:04 -0000 Received: from 172.24.1.136 (EHLO szxeml430-hub.china.huawei.com) ([172.24.1.136]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id CDT13153; Thu, 23 Jun 2016 11:17:33 +0800 (CST) Received: from HGHY1Z002260041.china.huawei.com (10.177.16.142) by szxeml430-hub.china.huawei.com (10.82.67.185) with Microsoft SMTP Server id 14.3.235.1; Thu, 23 Jun 2016 11:17:26 +0800 From: Shannon Zhao To: Date: Thu, 23 Jun 2016 11:16:49 +0800 Message-ID: <1466651824-6964-3-git-send-email-zhaoshenglong@huawei.com> X-Mailer: git-send-email 1.9.0.msysgit.0 In-Reply-To: <1466651824-6964-1-git-send-email-zhaoshenglong@huawei.com> References: <1466651824-6964-1-git-send-email-zhaoshenglong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.177.16.142] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090201.576B54D0.00C8, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: a1ccc1824cfbda80f8650c6a517636c6 Cc: sstabellini@kernel.org, wei.liu2@citrix.com, ian.jackson@eu.citrix.com, peter.huangpeng@huawei.com, julien.grall@arm.com, shannon.zhao@linaro.org, boris.ostrovsky@oracle.com Subject: [Xen-devel] [PATCH v2 02/17] libxc: Add placeholders for ACPI tables blob and size X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" From: Shannon Zhao Add placeholders for ACPI tables blob and size here so that ACPI blob can be accessed from libxl and libxc. Signed-off-by: Shannon Zhao --- tools/libxc/include/xc_dom.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/libxc/include/xc_dom.h b/tools/libxc/include/xc_dom.h index 6cb10c4..cbeb4fb 100644 --- a/tools/libxc/include/xc_dom.h +++ b/tools/libxc/include/xc_dom.h @@ -64,6 +64,8 @@ struct xc_dom_image { size_t ramdisk_size; void *devicetree_blob; size_t devicetree_size; + void *acpitable_blob; + size_t acpitable_size; size_t max_kernel_size; size_t max_ramdisk_size;