diff mbox

[v3,02/17] libxc: Add placeholders for ACPI tables blob and size

Message ID 1467688367-17320-3-git-send-email-zhaoshenglong@huawei.com (mailing list archive)
State New, archived
Headers show

Commit Message

Shannon Zhao July 5, 2016, 3:12 a.m. UTC
From: Shannon Zhao <shannon.zhao@linaro.org>

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 <shannon.zhao@linaro.org>
---
 tools/libxc/include/xc_dom.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Wei Liu July 7, 2016, 3:42 p.m. UTC | #1
On Tue, Jul 05, 2016 at 11:12:32AM +0800, Shannon Zhao wrote:
> From: Shannon Zhao <shannon.zhao@linaro.org>
> 
> 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 <shannon.zhao@linaro.org>

Acked-by: Wei Liu <wei.liu2@citrix.com>

Though this patch is simple, it seems that these fields would only be
used later patches, so I will wait until all of them are sorted.

> ---
>  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;
> -- 
> 2.0.4
> 
>
diff mbox

Patch

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;